不知道你解決了沒(méi), 這是babel官網(wǎng)原話:Note: Running a Babel 6.x project using npm 2.x can cause performance problems because of the way npm 2.x installs dependencies. This problem can be eliminated by either switching to npm 3.x or running npm 2.x with the?dedupe?flag. To check what version of npm you have run。
大意就是: 你用npm2.x的版本去跑6.x版本的babel會(huì)引起語(yǔ)法錯(cuò)誤.檢查下你的npm版本 如果你是2.x的就升級(jí)到3.x的.或者running npm 2.x with the?dedupe?flag(這段話我也不懂).
2017-05-10
不知道你解決了沒(méi), 這是babel官網(wǎng)原話:Note: Running a Babel 6.x project using npm 2.x can cause performance problems because of the way npm 2.x installs dependencies. This problem can be eliminated by either switching to npm 3.x or running npm 2.x with the?dedupe?flag. To check what version of npm you have run。
大意就是: 你用npm2.x的版本去跑6.x版本的babel會(huì)引起語(yǔ)法錯(cuò)誤.檢查下你的npm版本 如果你是2.x的就升級(jí)到3.x的.或者running npm 2.x with the?dedupe?flag(這段話我也不懂).
2017-05-09
版本2.5
2017-05-09
我版本是2.5的webpack