0

I created my .NetCore 2.0 & knockout project using command line. I successfully created and install npm packages.project run successfully. Then I update the version of Bootstrap from 3.3.7 to 4.1.3 and install popper.js using npm and trying to run my project, my project spits out this error

System.AggregateException: 'One or more errors occurred. (Webpack dev middleware failed because of an error while loading 'aspnet-webpack'. Error was: Error: Cannot find module 'webpack'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\Users\knockout1\node_modules\aspnet-webpack\WebpackDevMiddleware.js:4:15)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
Current directory is: C:\Users\knockout1
)'

i updated my Webpack packages but no avail.Please help....

2
  • This thread should be helpful:link Commented Sep 7, 2018 at 17:48
  • I checked that link and follow his steps. but error didn't remove Commented Sep 7, 2018 at 21:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.