graceguo-supercat commented on pull request #15349: URL: https://github.com/apache/superset/pull/15349#issuecomment-871757352
Hi @kgabryje, we saw some errors when we tried to deploy latest master branch to airbnb production. the error is like ``` [2021-06-30T01:15:09Z] [Jun 30 01:15:09] INFO ==> ERROR in ./src/showSavedQuery/index.jsx -- | [2021-06-30T01:15:09Z] [Jun 30 01:15:09] INFO ==> Module build failed (from ./node_modules/babel-loader/lib/index.js): | [2021-06-30T01:15:09Z] [Jun 30 01:15:09] INFO ==> Error: Cannot find module '@emotion/babel-plugin-jsx-pragmatic' | [2021-06-30T01:15:09Z] [Jun 30 01:15:09] INFO ==> Require stack: | [2021-06-30T01:15:09Z] [Jun 30 01:15:09] INFO ==> - /srv/superset-internal/superset-fork/superset-frontend/node_modules/@emotion/babel-preset-css-prop/dist/emotion-babel-preset-css-prop.cjs.prod.js | [2021-06-30T01:15:09Z] [Jun 30 01:15:09] INFO ==> - /srv/superset-internal/superset-fork/superset-frontend/node_modules/@emotion/babel-preset-css-prop/dist/emotion-babel-preset-css-prop.cjs.js | [2021-06-30T01:15:09Z] [Jun 30 01:15:09] INFO ==> - /srv/superset-internal/superset-fork/superset-frontend/node_modules/@babel/core/lib/config/files/plugins.js | [2021-06-30T01:15:09Z] [Jun 30 01:15:09] INFO ==> - /srv/superset-internal/superset-fork/superset-frontend/node_modules/@babel/core/lib/config/files/index.js ... ``` we used npm version `7.12`. If we revert this PR then build successful. Do you know anyway to fix above error? Why do we need this webpack upgrade? thanks! cc @michellethomas @john-bodley -- 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]
