Problems encountered when using generator-angular-fullstack

  node.js, question

According to the official website ( …After prompting for installation, when executing yo angular-fullstack, it was prompted that the angular-fullstack could not be found.

The problem is shown in the following figure.

Note: When npm is used, it is replaced by Taobao’s cpnm. I don’t know if there is any influence. . .

I woke up this morning and found it still failed, so I chose to reinstall nodejs. This installation did not choose to use cnpm, but simply replaced npm with a source, and then yo angular-fullstack found that there was no problem. The initial guess is that the configuration file of. npmrc and npmrc under npm were not unified when cnpm was set up before, so the solution was found.