You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/06/30 22:05:50 UTC

[GitHub] [superset] graceguo-supercat edited a comment on pull request #15349: chore: Bump @svgr/webpack to 5.5.0

graceguo-supercat edited a comment 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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org