Hi,
My app deployment gor failed during the Build stage with the following error. I would appreciate it if you let me know what went wrong here and how I can fix it.
2023-02-20T22:21:44.350Z [WARNING]: "GridPlugin" is not exported by "node_modules/@syncfusion/ej2-vue-grids/src/grid/grid.component.js", imported by "node_modules/@syncfusion/ej2-vue-grids/src/index.js".
file: /codebuild/output/src386949278/src/para/node_modules/@syncfusion/ej2-vue-grids/src/index.js:6:24
4: export { AggregateColumnsDirective, AggregateColumnDirective, AggregateColumnsPlugin, AggregateColumnPlugin } from './grid/aggregate-columns.directive';
5: export { AggregatesDirective, AggregateDirective, AggregatesPlugin, AggregatePlugin } from './grid/aggregates.directive';
6: export { GridComponent, GridPlugin } from './grid/grid.component';
^
7: export { PagerComponent, PagerPlugin } from './pager/pager.component';
2023-02-20T22:21:44.351Z [WARNING]: error during build:
RollupError: "GridPlugin" is not exported by "node_modules/@syncfusion/ej2-vue-grids/src/grid/grid.component.js", imported by "node_modules/@syncfusion/ej2-vue-grids/src/index.js".
at error (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:1967:30)
at Module.error (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:12962:16)
at Module.getVariableForExportName (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:13116:29)
at getVariableForExportNameRecursive (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:12788:19)
at Module.getVariableFromNamespaceReexports (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:13544:50)
at Module.getVariableForExportName (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:13144:22)
at getVariableForExportNameRecursive (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:12788:19)
at Module.traceVariable (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:13343:35)
at ModuleScope.findVariable (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:11826:39)
at Identifier.bind (file:///codebuild/output/src386949278/src/para/node_modules/rollup/dist/es/shared/rollup.js:7782:40)
2023-02-20T22:21:44.413Z [ERROR]: !!! Build failed
2023-02-20T22:21:44.413Z [ERROR]: !!! Non-Zero Exit Code detected
I am using nodejs version is 16, and following is my package.json file.
{
"name": "ista_para",
"version": "1.1.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@aws-amplify/ui-vue": "^3.1.5",
"@aws-sdk/util-base64": "^3.208.0",
"@popperjs/core": "^2.11.6",
"@stencil/core": "^3.0.0",
"@syncfusion/ej2-data": "^20.4.48",
"@syncfusion/ej2-vue-dropdowns": "^20.4.48",
"@syncfusion/ej2-vue-grids": "^20.4.48",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vuelidate/core": "^2.0.0",
"@vuelidate/validators": "^2.0.0",
"aws-amplify": "^5.0.11",
"bootstrap": "^5.2.3",
"bootstrap-vue-3": "^0.5.1",
"chart.js": "^4.1.2",
"pinia": "^2.0.29",
"uuidv4": "^6.2.13",
"vee-validate": "^4.7.3",
"vue": "^3.2.45",
"vue-chartjs": "^5.1.0",
"vue-class-component": "8.0.0-rc.1",
"vue-cookieconsent-component": "^1.2.0",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@iconify/vue": "^4.1.0",
"@vitejs/plugin-vue": "^4.0.0",
"sass": "^1.57.1",
"unplugin-vue-components": "^0.22.12",
"vite": "^4.0.4"
}
}