Pit encountered during jhipster installation

I encountered a huge pit when installing jhipster. I have been looking for a long time to find a solution. Share:

I installed it according to the steps provided by the jhipster official website, the official website address:

https://www.jhipster-cn.tech/installation/

In the third step of the installation, an error was reported and there was no permission. I found an article on the Internet saying that it is not a matter of permission at all, but a matter of caching. I tried it and it turned out to be a good solution. The solution:

Delete the .npmrc file, the address of my file path is: C:\Users\Administrator\.npmrc

During the installation of step 4, an error was reported, NODE_PATH matches the npm root. I didn't care about it (does anyone know why? Tell me if I know), I ran step 5 directly, and then it succeeded. If you don’t understand, you can leave a message to communicate.

Guess you like

Origin blog.csdn.net/shuoshuo_12345/article/details/97400337