Topic: MDB-Vue-Pro-5.8.3 npm run dev can't work

Ravonu Kawh free asked 4 years ago


Documents\VueFM>npm run dev

vuefm@5.8.3 dev C:\Users\Ravonu\Documents\VueFM webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

internal/modules/cjs/loader.js:638 throw err; ^

Error: Cannot find module 'webpack' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (C:\Users\Ravonu\Documents\VueFM\node_modules\webpack-dev-server\bin\webpack-dev-server.js:12:17) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! vuefm@5.8.3 dev: webpack-dev-server --inline --progress --config build/webpack.dev.conf.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vuefm@5.8.3 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ravon\AppData\Roaming\npm-cache_logs\2019-10-18T10_39_52_531Z-debug.log


Magdalena Dembna staff commented 4 years ago

Try to use npm start ( "start": "yarn-or-npm run dev",). Let me know if it works for you.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.8.3
  • Device: computer
  • Browser: google chrome
  • OS: windows
  • Provided sample code: Yes
  • Provided link: No