How to prevent Error: Cannot find module 'semver/functions/satisfies' and run npm properly #4690
Replies: 1 comment
|
For anyone landing here with the same error: this isn't a PATH problem. npm ships with its own copies of the libraries it needs, inside Check whether the file is there: dir G:\llm\Sillytavern_fullset\nodejs\node_modules\npm\node_modules\semver\functions\satisfies.jsIf it says "File Not Found", the extraction was incomplete. Delete the tar -xf node-v20.x.x-win-x64.zip(Rename the extracted folder to Then |
Uh oh!
There was an error while loading. Please reload this page.
I know SO has answered it ,but it doesnt seems to work? As shown above I added the top nodejs folder into path.
Is there anything else I need to do? I tried adding the nodemodule\ to path but doesn't seems to work either.
I downloaded the zip unzip and renamed it to nodejs.
All reactions