Node library requires lib unavailable for a web use


#1

Hi,

@Matt_Bramlage @Joe_Trollo I am using the official Node library for my Angular apps. When upgrading to latest Angular, I can’t build anymore.

ERROR in ./node_modules/readline/readline.js
Module not found: Error: Can't resolve 'fs' in '[...]node_modules/readline'
ERROR in ./node_modules/asana/lib/dispatcher.js
Module not found: Error: Can't resolve 'os' in '[...]node_modules/asana/lib'
ERROR in ./node_modules/asana/lib/util/buffered_readable.js
Module not found: Error: Can't resolve 'stream' in '[...]node_modules/asana/lib/util'

The issue seems to be that the library requires things (fs, os, stream) that don’t make sense in a web context. The solution I find online don’t work :frowning: any recommandation?

Thanks


#2

same issue…