1.當(dāng)前環(huán)境版本:
npm -v 6.1.0
node -v v10.0.0
mac 64bit?
2. ionic start --pro-id e24ace68 創(chuàng)建項(xiàng)目出錯(cuò):

3. 嘗試解決方式
npm?uninstall?--save?node-sass??
npm install --save node-sass
本地預(yù)覽:
ionic serve
仍然報(bào)錯(cuò)!?
bash-3.2# ionic serve -cError: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:https://github.com/sass/node-sass/releases/tag/v4.7.0 ? at module.exports(/Users/richardparry/ionicapps/
app-scripts/node_modules/node-sass/lib/binding.js:13:13)? ? at Object. (/Users/richardparry/ionic apps/app-scripts/node_modules/node-sass/lib/index.js:14:35)
詳細(xì)部分隨便抓取的,注意刪除線部分。仔細(xì)查看node app-scripts 內(nèi)同樣引用了node-sass . 版本為4.7.0.
難怪項(xiàng)目下 node_modules node-sass 已經(jīng)變?yōu)?.9.0 .還是出錯(cuò)。
知道問題所在了!同樣的操作 app-scripts 下?
npm?uninstall?--save?node-sass??
npm install --save node-sass
項(xiàng)目下 iconic serve?
OK!??!