question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Processing node_modules failed. TypeError: Path must be a string. Received undefined

See original GitHub issue

Hello,

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:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Cyxocommented, Jun 13, 2016

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.

1reaction
bhushankumarlcommented, Jun 5, 2017

Hello, @pkoleva I just clean everything one more time and try it with the same version. Now, It’s working.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found