Press "Enter" to skip to content

DFINITY dfx npm install hangs on fetchMetadata

Today I heard about the new DFINITY Interntet Computer, so I obviously had to try it. However, during the initial dfx new command I noticed some network errors. Later, during npm install it got to this point and froze:

...fetchMetadata: sill install loadAllDepsIntoIdealTree

This is actually a common issue with npm. Sometimes it happens due to caching or proxy issues. In my case it was due to an old version of node/npm. I am using nvm so I just did this:

nvm install v16.1

Now it all works correctly. If you are not using nvm you may need to do something like:

npm install [email protected] -g

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.