[英]ionic platform add android: Error: Cannot find module ‘./source-map/source-map-generator’
I am facing with strange problem. 我面临着奇怪的问题。 I just create a blank app.
我只是创建一个空白的应用程序 When I tried to add android paltform I faced with this error: Error: Cannot find module './source-map/source-map-generator' Also, when I try to build my app I get the same error.
当我尝试添加android paltform时,我遇到了这个错误:错误:无法找到模块'./source-map/source-map-generator'此外,当我尝试构建我的应用程序时,我得到相同的错误。 I am really confused with this error.
我真的很困惑这个错误。
Is there any solution? 有什么解决方案吗?
best regards, hosein 最好的问候,hosein
npm install source-map使用终端尝试此命令,然后构建或创建除空白以外的项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.