Cannot create the basic configuration of the project
It pops up automatically
为情所困2017-05-02 09:43:12
It looks like there is no error reported. . . Just press Enter to continue.
習慣沉默2017-05-02 09:43:12
Was your project cloned from git? If so, just execute npm install directly in the directory with package.json. npm init is what you use to fill in various information about the project step by step. 在本地新建项目
Then use
npm install <dependency name> --save the library that the project depends on to run
or npm install <dependency name> --save-dev the library that the project development depends on
to save the project's dependencies to the package. in json. In this way, after others clone your project, they can easily install and run the project's dependencies.
I suggest you take a look at npm’s tutorial.