首页>>技术分享>>html相关>express安装

express安装

大路 html相关 2023-10-13 188

解决方案在stackoverflow上找到的,关掉strict-ssl即可,如下:



npm config set strict-ssl false
npm install -g express
$npm -g express-generator
express -e d:/blog
SET DEBUG=d:/blog:* & npm start
npm install -g core-js
npm start
cnpm config set strict-ssl false
用完之后恢复:



npm config set strict-ssl true
cnpm config set strict-ssl true


标签:
上一篇:express入门
下一篇:http协议