Cannot find module 'source-map' after install npm install source-map --save-dev
Loading
Cannot find module 'source-map' after install npm install source-map --save-dev
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vishal JoshiPosted Jan 12, 2023, 5:38 AM
Hello
Please check the bower.json file ignore section. as mention below.
if you have a node_modules folder with a different name either you need to add it to ignore the section or you can physically delete it and try to reinstall it.
Thanks
Vishal YelvePosted Jan 11, 2023, 5:40 AM
delete node_modules and do npm install
Amit MohantyPosted Jan 11, 2023, 4:40 AM
Try deleting 'node_modules' and 'package-lock.json' files from your project and reinstall the dependencies by running "npm install" or "yarn install".
Jefferson S. MottaPosted Jan 10, 2023, 9:02 PM
Hi, delete node_modules and try again.