方法二
来源:互联网 发布:现在开淘宝店赚钱吗 编辑:程序博客网 时间:2024/06/05 19:06
最近系统崩溃,亏得有备份,将备份重新拷贝运行出错,现总结问题如下:
1,首先查看nodejs 版本是否一致,原项目运行的nodejs版本还有后天服务框架,我用的是express框架
2,运行node程序时如果出现
ERROR in Missing binding H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node
Node Sass could not find a binding for your current environment: Windows 32-bit with Node.js 6.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 6.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
@ ./src/assets/stylesheets/base.scss 4:14-127 13:2-17:4 14:20-133
ERROR in Missing binding H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node
Node Sass could not find a binding for your current environment: Windows 32-bit with Node.js 6.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 6.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
@ ./src/assets/stylesheets/style.css 4:14-127 13:2-17:4 14:20-133
ERROR in Missing binding H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node
Node Sass could not find a binding for your current environment: Windows 32-bit with Node.js 6.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 6.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
@ ./~/react-datepicker/dist/react-datepicker.css 4:14-106 13:2-17:4 14:20-112
^C
H:\myWork\lvlvPro\lvlvPro>
H:\myWork\lvlvPro\lvlvPro>npm rebuild node-sass
> node-sass@3.8.0 install H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass
> node scripts/install.js
Binary downloaded and installed at H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node
> node-sass@3.8.0 postinstall H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass
> node scripts/build.js
"H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node" exists.
testing binary.
Binary is fine; exiting.
node-sass@3.8.0 H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass
此时运行按照提示执行 npm rebuild node-sass 命令,(如若不行,则先运行npm install node-sass命令执行)
然后再运行 node命令,启动服务。
期初会出现乱七八糟的什么msbuild.exe这些鬼东西,猜测还是跟nodejs版本有关,保持和原项目node版本一致就没出问题了。
- 方法二
- Web测试方法二
- ultraedit配置方法二
- 二、工厂方法模式
- 数据库优化方法(二)
- 缓存方法二
- 方法二:CAsyncSocket类
- seo方法之二
- 构造方法(二)
- 方法积累系列二
- AlertDialog 处理方法二
- 数据库优化方法(二)
- 数据库优化方法(二)
- 程序员之二 方法
- 获取节点方法二
- 内核同步方法二
- 自定义Tabbar方法二
- 问题解决方法二
- asp.net得到每月最后一天日期
- CentOS 7.3 安装与配置vsftp
- 使用getBackground().setAlpha,导致其他布局背景透明度都改变的问题
- comapre
- FPGA性能优化--硬件函数优化方法
- 方法二
- java中日期使用毫秒值注意问题
- Html5 canvas学习2-圆 贝塞尔曲线
- Kafka简介、基本原理、执行流程与使用场景
- 【转】23种设计模式之单例模式
- POJ1316 Self Numbers【水题】
- drawableLayout=侧滑
- 关于Python中的import(一)
- 几个连接HiveServer的客户端界面工具