Micro-channel small program - solution node_modules directory not found

First constructed in micro letter npm developer tools solution node_modules directory not found

The first step: Settings -> Project Settings -> using npm module

Step Two: Right next directory miniprogram -> Open Terminal -> Enter npm init -> In packagename input: sm-crypto -> Enter has been -> Input: yes

The third step: Input npm i miniprogram-sm-crypto --production

Step Four: Tools -> Build npm -> finished its construction

 

https://www.cnblogs.com/cysisu/p/10599379.html

Guess you like

Origin www.cnblogs.com/wen-/p/12036181.html