Last active
November 17, 2018 05:34
-
-
Save RichMorin/833531755d0a904d0c6f4f8d3e3a031c to your computer and use it in GitHub Desktop.
3rd try at installing phoenix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo npm cache clean -f (force) clear you npm cache | |
$ sudo npm install -g n install "n" (this might take a while) | |
$ sudo n stable | |
$ node -v | |
v11.2.0 | |
$ npm install && node node_modules/webpack/bin/webpack.js --mode development | |
npm notice created a lockfile as package-lock.json. You should commit this file. | |
npm WARN assets No description | |
added 2 packages from 1 contributor, removed 2 packages, updated 2 packages and audited 14894 packages in 20.533s | |
found 0 vulnerabilities | |
/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/bin/webpack.js:243 | |
throw err; | |
^ | |
Error: Cannot find module 'glob' | |
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15) | |
at Function.Module._load (internal/modules/cjs/loader.js:529:25) | |
at Module.require (internal/modules/cjs/loader.js:658:17) | |
at require (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/node_modules/v8-compile-cache/v8-compile-cache.js:159:20) | |
at Object.<anonymous> (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/webpack.config.js:2:14) | |
at Module._compile (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/node_modules/v8-compile-cache/v8-compile-cache.js:178:30) | |
at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10) | |
at Module.load (internal/modules/cjs/loader.js:620:32) | |
at tryModuleLoad (internal/modules/cjs/loader.js:560:12) | |
at Function.Module._load (internal/modules/cjs/loader.js:552:3) | |
at Module.require (internal/modules/cjs/loader.js:658:17) | |
at require (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/node_modules/v8-compile-cache/v8-compile-cache.js:159:20) | |
at WEBPACK_OPTIONS (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/bin/convert-argv.js:133:13) | |
at requireConfig (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/bin/convert-argv.js:135:6) | |
at /Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/bin/convert-argv.js:142:17 | |
at Array.forEach (<anonymous>) | |
at module.exports (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/bin/convert-argv.js:140:15) | |
at yargs.parse (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/bin/webpack.js:240:39) | |
at Object.parse (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/node_modules/yargs/yargs.js:552:18) | |
at /Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/bin/webpack.js:218:8 | |
at Object.<anonymous> (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack-cli/bin/webpack.js:515:3) | |
at Module._compile (internal/modules/cjs/loader.js:722:30) | |
at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10) | |
at Module.load (internal/modules/cjs/loader.js:620:32) | |
at tryModuleLoad (internal/modules/cjs/loader.js:560:12) | |
at Function.Module._load (internal/modules/cjs/loader.js:552:3) | |
at Module.require (internal/modules/cjs/loader.js:658:17) | |
at require (internal/modules/cjs/helpers.js:22:18) | |
at Object.<anonymous> (/Users/rdm/_Work/P_Elixir/PA_hax/PA_elixir/phx_http/assets/node_modules/webpack/bin/webpack.js:79:2) | |
at Module._compile (internal/modules/cjs/loader.js:722:30) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment