Hi! Tried to install Phoenix on Manjaro for the first time using installation page. After installation If I don’t use flag --no-webpack, I meet
[info] Running TeacherWeb.Endpoint with cowboy 2.9.0 at 0.0.0.0:4000 (http)
[error] Could not start Node.js watcher because script "/home/pilot/Programs/webpunk/teacher/assets/node_modules/webpack/bin/webpack.js" does not exist. Your Phoenix application is still running, however assets won't be compiled. You may fix this by running "npm install" inside the "assets" directory.
If I run
npm install
in …/assets
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path /home/pilot/Programs/webpunk/teacher/assets/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/build.js
npm ERR! Building: /home/pilot/.nvm/versions/node/v16.2.0/bin/node /home/pilot/Programs/webpunk/teacher/assets/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! make: Entering directory '/home/pilot/Programs/webpunk/teacher/assets/node_modules/node-sass/build'
logs here
I have no clue after two days trying to fix that.