Anushka-Hapukotuwa opened a new issue #16195: URL: https://github.com/apache/superset/issues/16195
When I clone superset, navigate to superset/superset-frontend/ and give npm ci and then npm run build, the project builds and runs successfully. Next I deleted the superset/superset-frontend/package-lock.json and generated it again from the superset/superset-frontend/package.json using npm install, then it gives loader errors. Screenshots -  Error generated - ERROR in ./src/datasource/ChangeDatasourceModal.tsx 112:118 Module parse failed: Unexpected token (112:118) File was processed with these loaders: * ./node_modules/thread-loader/dist/cjs.js * ./node_modules/babel-loader/lib/index.js * ./node_modules/ts-loader/index.js You may need an additional loader to handle the result of these loaders. | }; | const changeSearch = (event) => {var _event$currentTarget; > const searchValue = ((_event$currentTarget = event.currentTarget) == null ? void 0 : _event$currentTarget.value) ?? ''; | setFilter(searchValue); | }; Is there a problem with building the superset-frontend, when we delete the package-lock.json and regenerate it from package.json using npm install? superset version - 1.2 npm version - 6.14 node version - 14.17.2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
