nftstorage / nft.storage

**Notice: Uploads Decommissioned - Existing Data is Safe!** NFT.Storage Classic (classic.nft.storage) offers free decentralized storage and bandwidth for NFTs on IPFS and Filecoin. June 2024 Update: No new uploads, but all existing data is safe. Try the new NFT.Storage, which preserves data in long term Filecoin storage. Go to app.nft.storage
https://classic.nft.storage
Other
619 stars 167 forks source link

Windows install error: code ENOENT, syscall lstat, errno -4058 #2483

Closed jangarita closed 5 months ago

jangarita commented 10 months ago

When I try to install this package on Windows, I get this error:

npm i nft.storage

npm WARN deprecated multiaddr-to-uri@8.0.0: This module is deprecated, please upgrade to @multiformats/multiaddr-to-uri
npm WARN deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
npm WARN deprecated ipfs-core-types@0.8.4: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
npm WARN deprecated ipfs-core-utils@0.12.2: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

I was able to reproduce it on Windows 10 and 11 (x64), Node v20.10.0, NPM v10.2.5 and NPM v9.9.2

ieun32 commented 9 months ago

same problem

npm install nft.storage npm WARN deprecated multiaddr-to-uri@8.0.0: This module is deprecated, please upgrade to @multiformats/multiaddr-to-uri npm WARN deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr npm WARN deprecated ipfs-core-types@0.8.4: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details npm WARN deprecated ipfs-core-utils@0.12.2: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: C:\Users\undud\AppData\Local\npm-cache_logs\2024-01-07T15_07_58_460Z-debug-0.log