-
Notifications
You must be signed in to change notification settings - Fork 111
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
import 引入报错 #23
Labels
question
Further information is requested
Comments
@yyhuaisha Add the follow configuration to your node: {
fs: 'empty'
} |
我用angular写的,也出现上面的问题,怎么办 |
@dreamersss angular使用内置的 webpack-cli 处理,所以没办法直接修改。稍后会修复这个问题 |
@dreamersss 问题已修复,你用最新的 0.3.4 版本试试 |
fs解决了,剩下的三个path,stream,zlib还是报错 |
@dreamersss 我这边似乎没什么问题,angular我不怎么用,建议你可以选择引入 <script src="<your path>/app-info-parser.min.js"> 使用的话直接使用 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
错误信息如下:
ERROR in ./node_modules/bplist-parser/bplistParser.js
Module not found: Error: Can't resolve 'fs' in 'E:\dev\youdu_back_end\node_modules\bplist-parser'
ERROR in ./node_modules/app-info-parser/src/zip.js
Module not found: Error: Can't resolve 'path' in 'E:\dev\youdu_back_end\node_modules\app-info-parser\src'
ERROR in ./node_modules/streamifier/lib/index.js
Module not found: Error: Can't resolve 'stream' in 'E:\dev\youdu_back_end\node_modules\streamifier\lib'
ERROR in ./node_modules/cgbi-to-png/index.js
Module not found: Error: Can't resolve 'zlib' in 'E:\dev\youdu_back_end\node_modules\cgbi-to-png'
The text was updated successfully, but these errors were encountered: