1.第一步 2.第二步:打开终端输入:npm init 第三步:输入:npm i miniprogram-sm-crypto --production 第四步:打开工具,点击里面的构建npm,然后就可以了