Guest User

errors

a guest
Feb 8th, 2019
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. C:\Users\TOPCHA\Desktop\react>npm run it
  2.  
  3. > [email protected] it C:\Users\TOPCHA\Desktop\react
  4. > webpack-dev-server --hot
  5.  
  6. The CLI moved into a separate package: webpack-cli
  7. Please install 'webpack-cli' in addition to webpack itself to use the CLI
  8. -> When using npm: npm i -D webpack-cli
  9. -> When using yarn: yarn add -D webpack-cli
  10. internal/modules/cjs/loader.js:582
  11. throw err;
  12. ^
  13.  
  14. Error: Cannot find module 'webpack-cli/bin/config-yargs'
  15. at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
  16. at Function.Module._load (internal/modules/cjs/loader.js:506:25)
  17. at Module.require (internal/modules/cjs/loader.js:636:17)
  18. at require (internal/modules/cjs/helpers.js:20:18)
  19. at Object.<anonymous> (C:\Users\TOPCHA\Desktop\react\node_modules\webpack-dev-server\bin\webpack-dev-server.js:84:1)
  20. at Module._compile (internal/modules/cjs/loader.js:688:30)
  21. at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
  22. at Module.load (internal/modules/cjs/loader.js:598:32)
  23. at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
  24. at Function.Module._load (internal/modules/cjs/loader.js:529:3)
  25. npm ERR! code ELIFECYCLE
  26. npm ERR! errno 1
  27. npm ERR! [email protected] it: `webpack-dev-server --hot`
  28. npm ERR! Exit status 1
  29. npm ERR!
  30. npm ERR! Failed at the [email protected] it script.
  31. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  32.  
  33. npm ERR! A complete log of this run can be found in:
  34. npm ERR! C:\Users\TOPCHA\AppData\Roaming\npm-cache\_logs\2019-02-08T12_49_28_366Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment