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
I want to make a bundled js application that can generate secure random.randomBytes(32) WITHOUT requiring the user to compile the cpp bindings, etc. I am hoping this application will work similar to the browser mode of bcoin, which compiles and runs fine without this error! (last time I checked... 😬)
I'm probably the wrong person to ask since I've never been able to properly compile node modules with webpack (or anything else). bpkg will work better for this.
I want to make a bundled js application that can generate secure
random.randomBytes(32)
WITHOUT requiring the user to compile the cpp bindings, etc. I am hoping this application will work similar to the browser mode of bcoin, which compiles and runs fine without this error! (last time I checked... 😬)package.json
webpack.config.js
Attempt build:
npm run webpack
✅Attempt run:
node dist/bundle.js
❌I've tried to include
NODE_BACKEND=js
before thewebpack
command, which seems to have no effect.I otherwise am confident the js backends are bundling, because when I exclude the
resolve
statement I get the error:The text was updated successfully, but these errors were encountered: