如果已经把node的环境安装了,
还出现 npm init 指令后没有json文件的情况
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.
那就一直enter键往下敲回车,多敲几下enter键
E:\es6\hello-vue>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: (hello-vue)
version: (1.0.0)
description:
entry point: (index.js)
test command:
git repository:
keywords:
author:
license: (ISC)
E:\es6\hello-vue>
OK
版权声明:本文为ShiXinXin_Harbour原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。