Small micro-channel application development tools to build npm tips did not find node_modules directory

 

 

First, the official website to write a document insufficient, you need to fully understand how to use npm, in order to understand;

Second, the first step: install npm refer to the following article on your computer

https://www.cnblogs.com/zmdComeOn/p/11543441.html

Third, the second step:

       1, the first step: to open the project directory cd terminal execute the following command: NPM the init as shown in FIG.

    

 

    After the command has been input point of the transport, as shown below:

    

       2. The second step: npm install --production

       3, the third step: npm i vant-weapp -S --production

Fourth, we must pay attention is that micro letter Developer Tools To update to the latest version, or click the tool does not build npm this column,

      After completion of the command execution, and then go midpoint micro-channel Developer Tools - Construction of npm ,

     

 

 

      Then it was successful, as shown below:

Guess you like

Origin www.cnblogs.com/zmdComeOn/p/11548122.html