我最近更新我的Ionic2项目从2.0.0-beta.11
到2.0.0-rc.0
。我使用Immutable.js(版本^ 3.8.1)。由于更新我遇到离子在下面的错误即成命令:immutable.js不导出地图
[16:50:23] bundle dev started ...
[16:50:40] Error: Module /myproject/node_modules/immutable/dist/immutable.js does not export Map (imported by /myproject/.tmp/effects/catalog.effects.js)
at Module.trace (/myproject/node_modules/rollup/dist/rollup.js:7677:29)
at ModuleScope.findDeclaration (/myproject/node_modules/rollup/dist/rollup.js:7300:22)
at Scope.findDeclaration (/myproject/node_modules/rollup/dist/rollup.js:5351:39)
at Scope.findDeclaration (/myproject/node_modules/rollup/dist/rollup.js:5351:39)
at Scope.findDeclaration (/myproject/node_modules/rollup/dist/rollup.js:5351:39)
at Scope.findDeclaration (/myproject/node_modules/rollup/dist/rollup.js:5351:39)
at CallExpression.bind (/myproject/node_modules/rollup/dist/rollup.js:5826:28)
at /myproject/node_modules/rollup/dist/rollup.js:5151:50
at ReturnStatement.eachChild (/myproject/node_modules/rollup/dist/rollup.js:5168:5)
at ReturnStatement.bind (/myproject/node_modules/rollup/dist/rollup.js:5151:7)
我不知道我是否需要添加一些纳入我app.module.ts文件。我可能会错过什么。
谢谢。
请参阅[https://github.com/driftyco/ionic-app-scripts/issues/68](https://github.com/driftyco/ionic-app-scripts/issues/68) –
看来,是问题。喔! –