-
Notifications
You must be signed in to change notification settings - Fork 270
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
Can't compile an angular 6 app with csvtojson dependency #258
Comments
I get same issue with another OS library :( I suspect that therefore our mutual issue has nothing to do with the lib's source code but with some issue core to ng6 and/or how libs like these - are not built right? Do you have any ideas? |
I'm having the same issue with Angular 6, see: angular/angular-cli#10681 and angular/angular-cli#4227 (comment) for some potential fixes. I'm still seeing if I can find a solution. |
Are you still facing the issue with latest csvtojson library? |
upgraded to 2.0.6 , issue still stands |
@jonofcho Could you paste what error you are getting? |
@Keyang |
I am getting same issue:
|
I'm seeing this as well in angular 6
|
Hi, ~Keyang |
I am using csvtojson v2.0.7 in my Angular 6 application. But I am getting this error at runtime: Uncaught ReferenceError: Buffer is not defined |
#270 check that aswell |
Hi, Regards, |
@Keyang Yes it doesn't work with v2.0.8 |
Close due to no activity. |
If I try to perform an "ng serve" locally I get the following errors since I've updated my app from angular 5 to angular 6, any clue ? :
ERROR in ./node_modules/csvtojson/libs/interfaces/web/webServer.js
Module not found: Error: Can't resolve 'http' in 'D:\dev\repo\RuneManager\node_modules\csvtojson\libs\interfaces\web'
ERROR in ./node_modules/csvtojson/libs/core/Converter.js
Module not found: Error: Can't resolve 'os' in 'D:\dev\repo\RuneManager\node_modules\csvtojson\libs\core'
ERROR in ./node_modules/csvtojson/libs/core/getEol.js
Module not found: Error: Can't resolve 'os' in 'D:\dev\repo\RuneManager\node_modules\csvtojson\libs\core'
ERROR in ./node_modules/csvtojson/libs/core/Converter.js
Module not found: Error: Can't resolve 'stream' in 'D:\dev\repo\RuneManager\node_modules\csvtojson\libs\core'
The text was updated successfully, but these errors were encountered: