Node.js 爱奥尼亚,节点Sass还不支持您当前的环境
我将我的操作系统从windows切换到Mac,在为我的应用提供服务时将我以前的应用从windows复制到Mac后,它生成了一个错误:Node.js 爱奥尼亚,节点Sass还不支持您当前的环境,node.js,ionic-framework,ionic3,Node.js,Ionic Framework,Ionic3,我将我的操作系统从windows切换到Mac,在为我的应用提供服务时将我以前的应用从windows复制到Mac后,它生成了一个错误: app-scripts] /Volumes/D Drive/Work/Trisquard/carExpense/node_modules/node-sass/lib/binding.js:13 [app-scripts] throw new Error(errors.unsupportedEnvironment()); [app-scripts]
app-scripts] /Volumes/D Drive/Work/Trisquard/carExpense/node_modules/node-sass/lib/binding.js:13
[app-scripts] throw new Error(errors.unsupportedEnvironment());
[app-scripts] ^
[app-scripts] Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (72)
[app-scripts] For more information on which environments are supported please see:
[app-scripts] https://github.com/sass/node-sass/releases/tag/v4.9.0
[app-scripts] at module.exports (/Volumes/D Drive/Work/Trisquard/carExpense/node_modules/node-sass/lib/binding.js:13:13)
[app-scripts] at Object.<anonymous> (/Volumes/D Drive/Work/Trisquard/carExpense/node_modules/node-sass/lib/index.js:14:35)
[app-scripts] at Module._compile (internal/modules/cjs/loader.js:936:30)
[app-scripts] at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
[app-scripts] at Module.load (internal/modules/cjs/loader.js:790:32)
[app-scripts] at Function.Module._load (internal/modules/cjs/loader.js:703:12)
[app-scripts] at Module.require (internal/modules/cjs/loader.js:830:19)
[app-scripts] at require (internal/modules/cjs/helpers.js:68:18)
[app-scripts] at Object.<anonymous> (/Volumes/D Drive/Work/Trisquard/carExpense/node_modules/@ionic/app-scripts/dist/core/bundle-components.js:6:16)
[app-scripts] at Module._compile (internal/modules/cjs/loader.js:936:30)
[ERROR] ionic-app-scripts has unexpectedly closed (exit code 1).
The Ionic CLI will exit. Please check any output above for error details.
谢谢。您是否尝试过运行npm rebuild node sass?是否复制了node_modules文件夹?是否在删除后重新安装为npm install?首先,我从github克隆了它,但在出现相同错误后,尝试复制node_modules文件夹,但出现相同错误。是的,没有成功。我只是创建了一个新的项目,复制了应用程序文件,它正在工作,但我认为这不是正确的方法。
ERR: Your Node.js version is v8.9.1. Please update to the latest Node LTS version.