Closed cvl01 closed 1 month ago
It's a TypeScript error, no an Node.js error. TypeScript doesn't know it's a peer dependency, and although the import it dynamic, it still seems to look for it. I'm not sure there's anything I can do about that.
I get that locally too. I simply installed the speaker
package to workaround that message. You can also try adding // @ts-ignore
before that line to silence the message.
Wow! That was a fast response!
I managed to fix it, indeed by installing speaker
. However, I had to install visual studio with c++ development tools to properly install the speaker package. That worked, and removed the error!
I followed the instructions for setting up a development environment, but have trouble getting things to work. I am not very common with node, so excuse me if I am missing something obvious.
When running
tsc .
I get the following error.I then tried running
tsc
, without the.
as suggested online. This gives me