I m working on migrating…

less than 1 minute read

I’m working on migrating an older project into my workspace. I’m some compiler errors in 3 modules and not sure where to start in trying to resolve. This might be a general webpack / babel question or it might be nx specific I’m not too sure. I’m not seeing any peerDependnecies for these. I’m guessing there is some sort of nx configuration I’m missing. Thanks for any help but definitely a shot in the dark :sweat_smile: ```ERROR in ./node_modules/react-virtualized/dist/es/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module ‘./.babelrc.js’ from ‘./node_modules/react-virtualized’

ERROR in ./node_modules/mitt/dist/mitt.es.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module ‘babel-plugin-transform-flow-strip-types’ from ‘./node_modules/mitt’

  • Did you mean “@babel/transform-flow-strip-types”?

ERROR in ./node_modules/react-input-autosize/lib/AutosizeInput.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module ‘babel-preset-es2015’ from ‘./node_modules/react-input-autosize’```

Updated: