Running a script fails when executed in a flow
This line in my script seems to cause issues:
const Hero = require('@ulixee/hero');
5 Replies
Im using Bun
is that an inline script or a workspace script?
can the script be ran independently as a deployed script?
try adding //nobundling at the top of the script
workspace one
can be ran independently, yes
can be ran indepndently as a deployed script?
yeah, adding nobundling in various places seems to help out. I need to investigate further, one min
that did the trick, I had to do that in a few different scripts though. thank you