You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description
I have imported Human in a file to do some ml stuff. Then I bundled the file using webpack. Now when I'm trying to import the bundled file into another file, I get this error:
Human library version? 3.3.4
Built-in demo or custom code? Custom code.
Type of module used (e.g. js, esm, esm-nobundle)? esm
TensorFlow/JS version (if not using bundled module)? 4.22.0
Browser or NodeJS and version (e.g. NodeJS 14.15 or Chrome 89)? NodeJS v20
OS and Hardware platform (e.g. Windows 10, Ubuntu Linux on x64, Android 10)? Ubuntu 20
Packager (if any) (e.g, webpack, rollup, parcel, esbuild, etc.)? webpack 5
I have also tried to do polyfills for the util package as suggested by StackOverflow but still got the same error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Issue Description
I have imported Human in a file to do some ml stuff. Then I bundled the file using webpack. Now when I'm trying to import the bundled file into another file, I get this error:
Steps to Reproduce
Clone https://github.com/Smruti-AT/test_bundle.git (Sample code)
Run npm install inside /ml
Run npx webpack inside /ml
Run node index.js inside /app
Environment
Human library version? 3.3.4
Built-in demo or custom code? Custom code.
Type of module used (e.g. js, esm, esm-nobundle)? esm
TensorFlow/JS version (if not using bundled module)? 4.22.0
Browser or NodeJS and version (e.g. NodeJS 14.15 or Chrome 89)? NodeJS v20
OS and Hardware platform (e.g. Windows 10, Ubuntu Linux on x64, Android 10)? Ubuntu 20
Packager (if any) (e.g, webpack, rollup, parcel, esbuild, etc.)? webpack 5
I have also tried to do polyfills for the util package as suggested by StackOverflow but still got the same error.
Beta Was this translation helpful? Give feedback.
All reactions