惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
罗磊的独立博客
SecWiki News
SecWiki News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
IT之家
IT之家
博客园 - 聂微东
T
The Exploit Database - CXSecurity.com
Recorded Future
Recorded Future
大猫的无限游戏
大猫的无限游戏
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Vercel News
Vercel News
G
GRAHAM CLULEY
D
DataBreaches.Net
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
SegmentFault 最新的问题
博客园_首页
雷峰网
雷峰网
T
Tenable Blog
Spread Privacy
Spread Privacy
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
V
Visual Studio Blog
J
Java Code Geeks
博客园 - Franky
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
C
CERT Recently Published Vulnerability Notes
T
Threatpost
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
Recent Announcements
Recent Announcements
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
U
Unit 42
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
K
Kaspersky official blog
有赞技术团队
有赞技术团队
B
Blog
腾讯CDC

博客园 - 晴窗笔记

javascript的严格模式:use strict Ionic在线打包IOS平台应用 cordova插件分类 ionic 启用sass ngCordova 为Asp.net WebApi 添加跨域支持 使用ionic framework创建一个简单的APP 研究主题 近两天让我羞愧难当的遭遇 cordova环境配置 正则表达式基础 2016年读书计划 红皇后假说 微信OAuth2.0网页授权 2016年碎语 Apache + PHP 环境搭建 各种环境配置 技术名词记 使用新浪云(SAE)实现基于mySql和微信公众平台的关键字请求响应服务
安装nodejs6.9x以后,原来在nodejs4.2.x中运行正常的ionic项目出现问题的解决
晴窗笔记 · 2017-01-11 · via 博客园 - 晴窗笔记

安装nodejs6.9x以后,原来在nodejs4.2.x中运行正常的程序出现的问题。
看错误信息,由于NodeJs版本升级导致的。

到提示的目录下运行:npm rebuild node-sass -g 无效果

运行:
npm install -g node-sass
npm rebuild

还是不行

运行 node -e "console.log(require.resolve('node-sass'))"
查看当前node-sass所在位置

还是不行。放弃环境调整,在新环境下 ionic start myapp 重新重成一个ioinc V1 项目,将自定义内容复制进去,OK

-------------------------------------------------------------
错误信息
D:\IonicUI\tabApp>ionic serve

There is an error in your gulpfile:
Error: Missing binding D:\IonicUI\tabApp\node_modules\gulp-sass\node_modules\nod
e-sass\vendor\win32-x64-48\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit
with Node.js 6.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 4.x

This usually happens because your environment has changed since running `npm ins
tall`.
Run `npm rebuild node-sass` to build the binding for your current environment.
    at Object.<anonymous> (D:\IonicUI\tabApp\node_modules\gulp-sass\node_modules
\node-sass\lib\index.js:15:11)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (D:\IonicUI\tabApp\node_modules\gulp-sass\index.js:187
:21)
    at Module._compile (module.js:570:32)

D:\IonicUI\tabApp>