windows 10 installation wepy2
Previously used wepy1, and now to learn wepy2, run the following command error
npm install @ wepy / cli -g # WePY CLI tool installed globally
Open the log file, and cmd prompt interface consistent with an error as follows:
11758 error code EEXIST
11759 error path C:\Users\my\AppData\Roaming\npm\node_modules\@wepy\cli\bin\wepy.js
11760 error dest C:\Users\my\AppData\Roaming\npm\wepy
11761 error EEXIST: file already exists, cmd shim 'C:\Users\my\AppData\Roaming\npm\node_modules\@wepy\cli\bin\wepy.js' -> 'C:\Users\my\AppData\Roaming\npm\wepy'
11762 error File exists: C:\Users\my\AppData\Roaming\npm\wepy
11763 error Remove the existing file and try again, or run npm
11764 error with --force to overwrite files recklessly.
Follow the prompts to install the wepy1 judge me before and now there is a conflict of wepy2 installation,
Locate the directory C: \ Users \ my \ AppData \ Roaming \ npm under delete files wepy.js,
Re-run npm install @ wepy / cli -g, follow the prompts to delete wepy, wepy.cmd
Run npm install @ wepy / cli -g successful installation.