Jquery not working in angular 6 Error: ENOENT: no such file or directory, open '…\node_modules\jquery\dist\jquery.min.js'

前端 未结 11 1695
离开以前
离开以前 2021-02-01 02:02

I am in process migrating Angular 5 project to Angular 6.

While starting application by

npm start

getting the below error



        
11条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-01 02:31

    To fix the error An unhandled exception occurred: Script file node_modules/jquery/dist/jquery.min.js does not exist.

    try installing:

    npm install jquery --save
    npm install popper.js --save
    npm install bootstrap --save
    

    hope this will work

提交回复
热议问题