在服务器更换 node 组件的版本,折腾了一上午,必须记录一下,
服务器的权限是 --unsafe-perm;
之前总是不行 加上--unsafe-perm;就好了
rm -rf node_modules
rm package-lock.json
npm cache clear --forceÏ
npm uninstall vant
cnpm install --save vant@2.5.2 --unsafe-perm
在服务器更换 node 组件的版本,折腾了一上午,必须记录一下,
服务器的权限是 --unsafe-perm;
之前总是不行 加上--unsafe-perm;就好了
rm -rf node_modules
rm package-lock.json
npm cache clear --forceÏ
npm uninstall vant
cnpm install --save vant@2.5.2 --unsafe-perm