随笔分类 -  node/npm

摘要:查看当前版本: node -v 升级node的版本 安装node版本管理工具'n'; 阅读全文
posted @ 2019-11-26 17:06 野望之风 阅读(4769) 评论(0) 推荐(0)
摘要:在安装sass的时候,npm报错:A complete log of this run can be fund in: 如下图 解决方法: 全局更新 npm install npm -g 或者用淘宝镜像命令 cnpm install npm -g 阅读全文
posted @ 2019-09-05 10:20 野望之风 阅读(24900) 评论(0) 推荐(0)
摘要:项目在本地调试时,遇到了本地文件加载跨域的问题 解决方法是,搭建本地服务环境,推荐:anywhere 在node环境下,全局安装anywhere: npm install anywhere -g 安装完成后,在需加载文件的文件夹下运行anywhere即可: anywhere 不添加 -s 命令,会同 阅读全文
posted @ 2019-07-19 11:41 野望之风 阅读(1321) 评论(0) 推荐(0)