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