yuusf
yuusf
DDeno
Created by yuusf on 11/8/2023 in #help
External package code throws error: window is undefined
I ended up moving the npm package files inside the deno project which resolved my issue. Thanks @marvinh. for your reply
6 replies
DDeno
Created by yuusf on 11/8/2023 in #help
External package code throws error: window is undefined
I see, that makes sense. Is there a way to make npm packages run in deno context? Or any other workaround would be appreciated
6 replies
DDeno
Created by yuusf on 11/8/2023 in #help
External package code throws error: window is undefined
I tried adding "deno.window" to "lib" in compilerOptions but it didn't work. btw, I am using Deno v1.38.0
6 replies