ERROR in ./src/main.js Module build failed (from…
- User
ERROR in ./src/main.js Module build failed (from ./node_modules/.store/babel-loader@9.0.1/node_modules/babel-loader/lib/index.js): TypeError: this.getOptions is not a function at Object.loader (C:\Users\starmerx\Desktop\code\new_lms_front\node_modules.store\babel-loader@9.0.1\node_modules\babel-loader\lib\index.js:46:28) at Object. (C:\Users\starmerx\Desktop\code\new_lms_front\node_modules.store\babel-loader@9.0.1\node_modules\babel-loader\lib\index.js:41:12)
Build failed with errors.
- Assistant
The error you're encountering indicates that the
babel-loaderyou're using is not compatible with your current version of either Webpack or Node.js. Thethis.getOptionsfunction is part of Webpack 5, so this suggests that either you're using an outdated version of Webpack or thebabel-loaderversion you're using expects a newer Webpack.Here’s how you can resolve this issue:
- User
ERROR in ./node_modules/.store/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/get-iterator.js Module not found: Error: Can't resolve 'core-js/library/fn/get-iterator'
- Assistant
- User
Module parse failed: Unexpected token (169:30) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | import { _unwrapUserComp } from "@ag-grid-community/core"; | function isSideBarVisible(beans) {
return beans.sideBarService?.getSideBarComp().isDisplayed() ?? false; | }
- Assistant
- User
ERROR in ag-grid-community+csv-export@32.2.2/node_modules/@ag-grid-community/csv-export/dist/package/main.esm.mjs 54:18 Module parse failed: Unexpected token (54:18)
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.