dev script fails ERR_PACKAGE_PATH_NOT_EXPORTED
jamesstoneco opened this issue · comments
James Stone commented
npm run dev
fails under Node v12.20.1 tested.
This can be fixed by bumping babel related deps to ^7.8.4
, just reply with a thumbs up if you would like me to submit a PR.
ERROR in ./src/js/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /REDACTED/THREEJS_Procedural-clouds/node_modules/@babel/helper-compilation-targets/package.json