Processing node_modules failed. TypeError: Path must be a string. Received undefined
See original GitHub issueHello,
I have this error when I try to prepare, build or run :
Processing node_modules failed. TypeError: Path must be a string. Received undefined
I don’t know where it comes from. I read on the internet that I may be caused by the version 6 of Node. As I was using 5.5.0, I thought I just had to down-grade, so I’m now in 4.4.5 but I still have this… strange error.
Any solution ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
node.js - TypeError: Path must be a string. Received undefined
I a persistent error while using serverless framework with serverless-offline and jest unit testing module.
Read more >Getting "TypeError: Path must be a string. Received undefined ...
Bug Report. I have a number of repos in our enterprise setup that are running into the following error: ○ Test suite failed...
Read more >the "path" argument must be of type string or an instance of url ...
Have you run into the error “TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received undefined”? In this story I'll go...
Read more >npm error: TypeError('Path must be a string. Received ... - Reddit
I'm using node.js version 6.9.1, and I can create classes just fine. But I can't use the new "import" word. I only get...
Read more >Error: Path must be a string. Received undefined - Forge
I could deploy previously. Now, this error occurs. What can be the problem ? Snapshot error occurred: Error: Path must be a string....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well now it works, I don’t know why, I didn’t change anything… But I think that it may be interesting to find a real solution in case it occurs again.
Hello, @pkoleva I just clean everything one more time and try it with the same version. Now, It’s working.