Visual Studio Apache Cordova Build Error - cannot find module

本秂侑毒 提交于 2019-12-06 07:03:23

问题


I have installed visual studio apache cordova plugin and started creating the in built hello world app. but when I build I get this error. I have seen other people have the same issue on MSDN forums but no answer. can anyone help?

Cannot find module './lib/plugin'


回答1:


Clear your Cordova Cache from within VS under Tools\Options\Tools for Apache Cordova\Cordova Tools. After you have done that, re-open your project and attempt a clean build. If you are still getting the same issue, inspect the contents of the folder %AppData%\Roaming\npm\node_modules\vs-mda\lib and reply back for further investigation.



来源:https://stackoverflow.com/questions/27012221/visual-studio-apache-cordova-build-error-cannot-find-module

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!