Replies: 1 comment
-
Interesting, it looks like we're find-replacing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've been using snowpack for few days. The bundling speed is amazing and made my coding experience much more smooth! But somehow my app failed to run since I imported
@tensorflow/tfjs
, which is supposed to work in both browser and node environments.I got this error in browser:
Then I found its source code under
node_modules
:The source code looks good. I guess it was something in the bundling process replaced
process
withundefined
caused the issue.I've tried to find instructions in the doc and use
rollup-plugin-node-polyfills
but no luck. Please help.Beta Was this translation helpful? Give feedback.
All reactions