-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. #4907
Comments
I am also facing the same issue. Is there any updte? |
I got this error just now when running EDIT: I tried installing some of the recommended dependencies to no avail. The error did not return when I ran |
getting the same error during an npm package installation |
I am getting the same error. Has anyone been able to fix it? |
I used |
Thanks for sharing that. But using yarn may introduce other problems in the repo.. |
I am also getting the same error. |
Deleting node_modules, deleting packages-lock.json and running npm install worked for me. |
@umair-mirza I deleted My understanding is that if you have |
Having the same issue: while npm works fine locally, in CI it fails with the same error. However a lot of other dependencies where updated up to their latest minor versions, so I don't know which ones have caused the error in particular. Node and NPM versions in CI: |
not a solution but worked for me |
Same error, delete the |
'TypeError: The "path" argument must be of type string. Received undefined' |
Any update here? |
Running into the same issue on Node 20.11.0 with NPM 10.2.4 |
I was encountering this issue using node 20.11.0 with npm 10.4.0. After deleting |
Can any sane person introduce HUMAN alike error logs in this ecosystem. As of 2024, 90% of libraries aren't running out of the box, all we have remaining are HIPSTERS errors similar to: terser myscript.js --source-map base --compress -o garbage.min.js By not taking care of log messages and debugging, and letting it go for years, as shown from the issue in this page, you had shot yourself in the foot. This ecosystem is now to be considered obsolete. |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
On the local machine packages and workspaces are installed properly.
When using gitlab CI, this error occur:
Expected Behavior
It should install without errors or create debug log that helps to find a solution.
Steps To Reproduce
Just run npm i
Environment
The text was updated successfully, but these errors were encountered: