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
Hi Gents.
I am using websnark in my React project and everything works fine.
But the built ( by using 'npm run build') version occurs error like "Uncaught ReferenceError: _asyncToGenerator is not defined"
How to reproduce it?
create new react app by using npx creact-react app websnark-test
Hi Gents.
I am using websnark in my React project and everything works fine.
But the built ( by using 'npm run build') version occurs error like "Uncaught ReferenceError: _asyncToGenerator is not defined"
How to reproduce it?
create new react app by using npx creact-react app websnark-test
add this line to package.json
"websnark": "git+https://github.com/peppersec/websnark.git#c254b5962287b788081be1047fa0041c2885b39f",
And try npm i
navigate node_modules/react-scripts/config/webpack.config.js and set new webpack.IgnorePlugin(/worker_threads/) for ignore plugin
run
npm run build
and host the build folderThen you will see such error on console
Thanks
The text was updated successfully, but these errors were encountered: