-
Notifications
You must be signed in to change notification settings - Fork 276
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
Problem with NPM and graceful-fs #2613
Comments
I'm moving this to nodejs/help because it's not an issue with Node.js itself, although you're probably better off reporting it to npm. Per my comment in nodejs/node#32799, I can tell from the error message that it's an old graceful-fs version. You can check for yourself by looking for that fs.js file - you won't find it in v4.2.3. |
Thanks.
You are right.
So, why when I call npm -v npm look for an old graceful-fs file that do not exist anymore? |
That's what I mean when I said it's picking up an old version. Look at the paths you mention:
|
I see. |
It's your system so it's up to you but I'd try removing the old npm install in |
I have uninstalled node.js. |
Probably. I don't see how it can hurt. |
All done.
|
Hi,
The only installation that was done was the nodejs build and gyp |
@saritvakrat internals are loaded with I am closing this since both questions seems to be answered. |
Hello, Thank you in advance. |
hey i dont have any AppData folder in my machine its windows 10 what should i do i have also reinstalled node but doesnt work man really need help |
i solved the issue yesssssssssssssssssssssss |
getting the same issue. uninstalling node using nvm doesn't work. do i really need to wipe out node scorched earth? I'm on Monteray 12.1. npm outut:
|
Hi |
Hi all,
after installing Node.js v12.16.2 on Windows 10 in order to use the Ionic framework, I get the following error checking the npm version to test the environment.
C:\Users\xxxxxx>npm -v
evalmachine.:35
} = primordials;
^
ReferenceError: primordials is not defined
at evalmachine.:35:5
at Object. (C:\Users\beke\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\fs.js:11:1)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Module.require (internal/modules/cjs/loader.js:1042:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (C:\Users\beke\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:3:27)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
I've established that the error I'm getting is not due to an older version of graceful-fs.
I've tried to unistall and re-install node.js 12.16.2, the last LTS version (two times, the first by msi installer downloaded from https://nodejs.org/it/download/ and the second by nvm).
Both the installation returned the same error.
I'v tried to check the effective version of graceful-fs existing on my hdd and opening the package.json file in the C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs folder I found that the version is 4.2.3.
I've also tried to install via npm the last version of node.js (13.13.0) and the result is exactly the same: Graceful-fs 4.2.3 installed and the same error.
Can anyone help me to solve this problem, please?
Any idea?
Any other community to ask these question?
The text was updated successfully, but these errors were encountered: