Closed rachelslurs closed 3 years ago
I've been having a lot of issues seeing the linting in codeclimate given our use of the babel next preset. I :crossed_fingers: hope this resolves that.
Parsing error: /code/babel.config.js: Error while loading config - Cannot find module 'next/babel' Require stack: - /code/babel.config.js - /usr/local/node_modules/@babel/core/lib/config/files/module-types.js - /usr/local/node_modules/@babel/core/lib/config/files/configuration.js - /usr/local/node_modules/@babel/core/lib/config/files/index.js - /usr/local/node_modules/@babel/core/lib/index.js - /usr/local/node_modules/@babel/eslint-parser/lib/index.js - /usr/local/node_modules/eslint/lib/cli-engine/config-array-factory.js - /usr/src/app/lib/eslint6-patch.js - /usr/src/app/lib/eslint.js - /usr/src/app/bin/eslint.js
I've been having a lot of issues seeing the linting in codeclimate given our use of the babel next preset. I :crossed_fingers: hope this resolves that.
Parsing error: /code/babel.config.js: Error while loading config - Cannot find module 'next/babel' Require stack: - /code/babel.config.js - /usr/local/node_modules/@babel/core/lib/config/files/module-types.js - /usr/local/node_modules/@babel/core/lib/config/files/configuration.js - /usr/local/node_modules/@babel/core/lib/config/files/index.js - /usr/local/node_modules/@babel/core/lib/index.js - /usr/local/node_modules/@babel/eslint-parser/lib/index.js - /usr/local/node_modules/eslint/lib/cli-engine/config-array-factory.js - /usr/src/app/lib/eslint6-patch.js - /usr/src/app/lib/eslint.js - /usr/src/app/bin/eslint.js