D:\robin\lib\weapp-utils>npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sensible defaults.
See `npm help json` for definitive documentation on these fields and exactly what they do.
Use `npm install <pkg>` afterwards to install a package and save it as a dependency in the package.json file.
Press ^C at any time to quit. package name: (weapp-utils) version: (1.0.0) description: some foundmental utils for weapp entry point: (lib/index.js) test command: git repository: keywords: weapp,utils author: tusi666 license: (ISC) MIT About to write to D:\robin\lib\weapp-utils\package.json:
D:\robin\lib\weapp-utils>npm adduser Username: tusi666 Password: Email: (this IS public) cumtrobin@163.com Logged in as tusi666 on https://registry.npm.taobao.org/.
The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it.