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 WARN deprecated firstname.lastname@example.org: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated email@example.com: this library is no longer supported npm WARN deprecated firstname.lastname@example.org: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated email@example.com: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated firstname.lastname@example.org: 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 email@example.com: 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'
I have no clue after two days trying to fix that.