Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cnpm 害死人 #202

Open
pengkobe opened this issue Oct 15, 2017 · 0 comments
Open

cnpm 害死人 #202

pengkobe opened this issue Oct 15, 2017 · 0 comments
Labels

Comments

@pengkobe
Copy link
Owner

死活说找不到模块
按照 ionic-team/ionic-framework#10946 进行修改

npm install @ionic/app-scripts@latest.

结果报

webpackJsonp is not defined

这个很好解决,在 index.html 中添加

<script src="build/vendor.js"></script>

最后,还是死活找不到模块,把 ionic-app-scripts 版本修改到 1.3.2 才解决
但是这么的报错,还是要人觉得不明不白,闲逛时看到这篇文章,
其说是 cnpm 惹得祸,于是移除掉 node_modules 里的内容,重新使用 npm 进行安装

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant