angular-fundamentals-seed icon indicating copy to clipboard operation
angular-fundamentals-seed copied to clipboard

Cannot find module 'chalk'

Open rustan-id opened this issue 7 years ago • 2 comments

$ yarn start yarn start v0.21.3 $ webpack --config vendor/webpack.config.js module.js:471 throw err; ^

Error: Cannot find module 'chalk' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/gmaimunah/Documents/Ultimate Angular/Angular 2 Fundamental/angular2master/vendor/webpack.config.js:5:13) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) error Command failed with exit code 1.

rustan-id avatar Mar 13 '17 03:03 rustan-id

$ sudo npm install chalk └─┬ [email protected] ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected]

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

$ yarn start yarn start v0.21.3 $ webpack --config vendor/webpack.config.js module.js:471 throw err; ^

Error: Cannot find module 'progress-bar-webpack-plugin' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/gmaimunah/Documents/Ultimate Angular/Angular 2 Fundamental/angular2master/vendor/webpack.config.js:6:25) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) error Command failed with exit code 1.

]$ sudo npm install progress-bar-webpack-plugin [email protected] /home/gmaimunah/Documents/Ultimate Angular/Angular 2 Fundamental/angular2master └─┬ [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ └── [email protected] └── [email protected]

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) [gmaimunah@ghina-id angular2master]$ yarn start yarn start v0.21.3 $ webpack --config vendor/webpack.config.js build [====================] 100% 0.2 seconds

Build completed in 0.169s

[0] dll vendor 12 bytes {0} [built] error Command failed with exit code 2.

rustan-id avatar Mar 13 '17 04:03 rustan-id

it's done when i tried in vs code toggle terminal.. Thanks...

rustan-id avatar Mar 13 '17 04:03 rustan-id