Global installation of npm package macOS succeeded, error reported under windows

Global installation of npm package tb-cli macOS succeeded, error reported under windows

execute the command
npm install tb-cli-g

Windows reports an error as follows:


yarn global add tb-cli

Windows :

win

I would like to ask all the bosses, what is the situation?

Mar.11,2021

C:\Users\Rare>npm install tb-cli -g
C:\Users\Rare\AppData\Roaming\npm\tb-init -> C:\Users\Rare\AppData\Roaming\npm\node_modules\tb-cli\bin\tb-init.js
C:\Users\Rare\AppData\Roaming\npm\tb-theme -> C:\Users\Rare\AppData\Roaming\npm\node_modules\tb-cli\bin\tb-theme.js
C:\Users\Rare\AppData\Roaming\npm\tb -> C:\Users\Rare\AppData\Roaming\npm\node_modules\tb-cli\bin\tb.js
+ tb-cli@2.0.0
added 188 packages in 70.373s

Test, the installation should be successful. Node.js is just the environment needed to run.
look at the first two warnings that do not write the path permissions of your mosaic folder
in addition, your'- ansi-escapes' package package is missing
it is recommended to repair the node.js installer
reinstall

Menu