cocos creater custom engine npm error fix

background

cocos creater compile engine npm install error
report error content:

fetchMetadata: sill pacote range manifest for path-root@^0.1.1 fetched in 194ms

insert image description here

solution

The effective plan is as follows

npm config set registry http://registry.npmjs.org/ --global
npm cache clear --force
npm install --verbose

insert image description here

Reference article:
https://www.thinbug.com/q/45433130

Guess you like

Origin blog.csdn.net/qq_45504161/article/details/121976275