Ionic 2:未捕获错误:webpack中的模块构建失败

时间:2016-11-12 11:30:50

标签: typescript ionic2

您好我在运行标签启动器应用时遇到问题。我正在做这些 -

ionic start hetalia tabs --v2
cd hetalia
ionic serve

然后在浏览器中我收到以下错误

Uncaught Error: Module build failed: TypeError: Cannot read property 'content' of undefined

at Object.typescriptSourcemapLoaderMemory (node_modules\@ionic\app-scripts\dist\webpack\typescript-sourcemap-loader-memory.js:18:34)

at Object.typescriptSourcemapLoaderMemory (H:\hetalia2\hetalia\node_modules\@ionic\app-scripts\dist\webpack\typescript-sourcemap-loader-memory.js:18:34)

at eval (webpack:///./src/pages/tabs/tabs.ts?:1:7)
at Object. (http://localhost:8100/build/main.js:1463:1)
at webpack_require (http://localhost:8100/build/main.js:20:30)
at eval (webpack:///./src/app/app.component.ts?:4:75)
at Object. (http://localhost:8100/build/main.js:3184:1)
at webpack_require (http://localhost:8100/build/main.js:20:30)
at eval (webpack:///./src/app/app.module.ts?:3:73)
at Object. (http://localhost:8100/build/main.js:3170:1)
at webpack_require (http://localhost:8100/build/main.js:20:30)
at eval (webpack:///./src/app/main.dev.ts?:2:70)

我错过了任何步骤吗?请帮忙

0 个答案:

没有答案