node.js – How to resolve Nodejs: Error: ENOENT: no such file or directory

node.js – How to resolve Nodejs: Error: ENOENT: no such file or directory

Your app is expecting to find a file at /home/embah/node/nodeapp/config/config.json but that file does not exist (which is what ENOENT means). So you either need to create the expected directory structure or else configure your application such that it looks in the correct directory for config.json.

After going through so many links and threads and getting frustrated over and over again, I went to the basics and boom! it helped. I simply did:

npm install

I dont know, but it might help someone 🙂

node.js – How to resolve Nodejs: Error: ENOENT: no such file or directory

92% additional asset processing scripts-webpack-plugin× 「wdm」: Error: ENOENT: no such file or directory, open….==> if anyone faced to such error, you should do followings:
1) you should check the if the file path is correct in angular.json file.

 scripts: [
          node_modules/jquery/dist/jquery.min.js,
          node_modules/bootstrap/dist/js/bootstrap.js
        ],

2) you should press crtl+c and re run the project.

Leave a Reply

Your email address will not be published.