先要安装nodejs,初始化项目配置文件package.json,根据情况输入配置参数

npm init
 1 test command:
 2 git repository:
 3 keywords:
 4 author:
 5 license: (ISC)
 6 About to write to E:\temp\20170429\test03\package.json:
 7 
 8 {
 9   "name": "test03",
10   "version": "1.0.0",
11   "description": "",
12   "main": "index.js",
13   "scripts": {
14     "test": "echo \"Error: no test specified\" && exit 1"
15   },
16   "author": "",
17   "license": "ISC"
18 }
npm init

相关文章:

  • 2022-12-23
  • 2021-05-03
  • 2021-05-25
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-28
  • 2022-12-23
  • 2021-05-05
  • 2022-12-23
  • 2022-01-11
  • 2021-11-10
相关资源
相似解决方案