谷粒商城后台管理系统-前端系统仓库
- Take a deep breath.
- Run
npm cache clean --force - Uninstall from Programs & Features with the uninstaller.
- Reboot (or you probably can get away with killing all node-related processes from Task Manager).
- Look for these folders and remove them (and their contents) if any still exist. Depending on the version you installed, UAC settings, and CPU architecture, these may or may not exist:
C:\Program Files (x86)\NodejsC:\Program Files\NodejsC:\Users\{User}\AppData\Roaming\npm(or%appdata%\npm)C:\Users\{User}\AppData\Roaming\npm-cache(or%appdata%\npm-cache)C:\Users\{User}\.npmrc(and possibly check for that without the.prefix too)C:\Users\{User}\AppData\Local\Temp\npm-*
- Check your
%PATH%environment variable to ensure no references toNodejsornpmexist. - If it's still not uninstalled, type
where nodeat the command prompt and you'll see where it resides -- delete that (and probably the parent directory) too. - Reboot, for good measure.
本内容参考自:移除NodeJS
★ 如曾安裝過 Node.js,需在安裝 nvm-windows 前先移除完畢,**移除方法*。*
- 安装 nvm-windows
安装完成后,打开cmd,输入
nvm -v测试是否安装成功。
- 查看当前 NodeJS 版本
nvm list available
- 安装
12.22.12版本的 NodeJS,并修改package.json中的 node-sass 的版本为:
"node-sass": "4.14.1"- 启用刚安装的 NodeJS 版本
nvm use 12.22.12- 测试 NodeJS 版本
node -v
npm -v如果出现像上图中显示的 npm -v 出错,则需要通过 nvm 卸载掉 nodejs,重新从来再来安装一次 nodejs,多试几次。
要想使
npm install不报错并顺利安装完,需要如下两个前提:
- 安装的
NodeJS的版本不能太新,建议使用v12.22.12- 修改
package.json中 node-sass 的版本为:"node-sass": "4.14.1"- 至于
python的版本,应该没关系,不过我本地使用的是Python 2.7.16之后就可以正常安装完了,不用使用 cnpm
谷粒商城后台管理系统-后端系统仓库
- renren-fast-vue基于vue、element-ui构建开发,实现renren-fast 后台管理前端功能,提供一套更优的前端解决方案
- 前后端分离,通过token进行数据交互,可独立部署
- 主题定制,通过scss变量统一一站式定制
- 动态菜单,通过菜单管理统一管理访问路由
- 数据切换,通过mock配置对接口数据/mock模拟数据进行切换
- 发布时,可动态配置CDN静态资源/切换新旧版本
- 演示环境:http://demo.open.renren.io/renren-security
项目开发、部署等说明都在wiki中。
每个版本的详细更改都记录在release notes中。







