Closed badboy-huaqiao closed 3 years ago
add stream-browserify
as a dependency your project?
See https://github.com/Richienb/node-polyfill-webpack-plugin/blob/master/index.js for other things you might need.
@hildjj my project is angular11 and using ng-cli init my project, so your mean that I need use npm install stream-browserify
? is that right?
See https://github.com/hildjj/node-cbor/pull/130#issuecomment-770284674 for the conversation we're having about how to make this work today, and what we might do to make it easier.
@hildjj ok, great thanks, I wish that works after your PR is merged.
cbor-web
is now published at version 7.0.0, it's what you want.
Angular11
Error: ./node_modules/cbor/lib/commented.js Module not found: Error: Can't resolve 'stream' in '/Users/..../node_modules/cbor/lib'