NPM installer gets an ENOENT error with 'nft.storage' in package.json #2625
Labels
kind/bug
A bug in existing code (including security flaws)
need/triage
Needs initial labeling and prioritization
As written in the title, I was not able to install anything in my TS project whenever nft.storage was inside my package.json.
versions
On package.json:
"ts-node": "^10.9.2",
"nft.storage": "^7.1.1",
"typescript": "^5.2.2"
On terminal (Powershell):
npm -v
: 10.7.0nvm -v
: 1.1.12nvm current
: v20.11.0expected behaviour
npm i
installs any packages, included yours.actual behaviour
npm i
does not finishes the process and so does not create the package-lock.json, except when I removenft.storage
from package.jsonlogs
Another kind of logs I received was:
What I already tried
npm clean cache --force
node_modules
andpackage-lock.json
from my project and reinstall anythingPlease note
nft.storage
actually works fine when installed withyarn add
; however, the packet gets added in package.json, blocking everything else that needs being installed afterwards.The text was updated successfully, but these errors were encountered: