简体   繁体   中英

Error: ENOENT: no such file or directory, open C:\myangularproject\src\node_modules\nlcst-pattern-match\lib\index.js

This just started!

I have an angular 5 project that "was" working and then, I was fixing my SCSS paths and installed Python 37 and WHAMO, all this happens.

What I did:

1) Deleted Package-Lock.json 2) Deleted the node-modules folder 3) did a fresh npm install 4) Deleted the nclst-pattern-match folder 5) Ran ng serve and the problem still shows 6) Installed npm nclst-pattern-match and the problem still shows

Anyone with thoughts on this would help me considerably.

The error clearly states that it cannot find the nclst folder. Why did you delete it after the npm install? Re run npm install and dont delete that folder.

And after installing you Need to stop angular and re run it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM