ionic serve 报错, 跪求解决!!!?报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

ionic serve 报错, 跪求解决!!!?报错

爱吃鱼的程序员 2020-06-08 16:14:20 22

安装完ionic后,新建项目后,运行ionic serve 报错:

G:\work\nodejs\demo003>npm -v
3.8.6

G:\work\nodejs\demo003>ionic -v
2.2.1

Error: Missing binding G:\work\nodejs\demo003\node_modules\node-sass\vendor\win32-x64-14\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node 0.12.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.
    at module.exports (G:\work\nodejs\demo003\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (G:\work\nodejs\demo003\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (G:\work\nodejs\demo003\node_modules\gulp-sass\index.js:187:21)
    at Module._compile (module.js:460:26)

 

JavaScript 关系型数据库 Windows
分享到
取消 提交回答
全部回答(1)
  • 爱吃鱼的程序员
    2020-06-08 16:14:37

    卸载node-sasscnpmuninstall--savenode-sass重新安装cnpminstall--savenode-sass

    0 0
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题
推荐课程