[英]Getting NPM error: “Resolving deps of app\app.ts failed.”
I'm trying to install and utilize this brunch.io skeleton . 我正在尝试安装和利用此brunch.io骨架 。 I keep running into this error:
我一直遇到这个错误:
20 Apr 19:40:21 - info: application started on http://localhost:3333/
20 Apr 19:40:24 - info: compiling
20 Apr 19:40:28 - error: Resolving deps of app\app.ts failed. Could not load module 'app\home' from 'C:\Users\tyler.WORKGROUP\Documents\GitHub\zenith-folio\app'. Possible solution: add 'app' to package.json and `npm install`.
20 Apr 19:40:28 - error: Resolving deps of app\about\index.ts failed. Could not load module 'app\about\about.tpl' from 'C:\Users\tyler.WORKGROUP\Documents\GitHub\zenith-folio\app\about'. Possible solution: add 'app' to package.json and `npm install`.
20 Apr 19:40:28 - info: compiling.
20 Apr 19:40:29 - info: compiled 477 files into 2 files, copied index.html in 8.4 sec
I'm trying my best to understand what's going on here, but I'm not sure. 我正在尽力了解这里发生的事情,但是我不确定。 I can see that I need to add "app" to package.json, but I don't know how or which "app" it's specifying.
我可以看到我需要在package.json中添加“ app”,但是我不知道它是如何指定哪个“ app”的。 Is it talking about:
是否在谈论:
Or is there something else I'm missing? 还是我还缺少其他东西?
消息很清楚: Could not load module 'app\\home'
,这意味着您在app.ts
有未解决的导入,可能看起来像是import ... from 'app\\home';
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.