You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org> on 2023/04/16 11:59:08 UTC

[GitHub] [superset] Abhishek-kumar-samsung opened a new pull request, #23702: fix: npm run dev-server error resolved

Abhishek-kumar-samsung opened a new pull request, #23702:
URL: https://github.com/apache/superset/pull/23702

   This error was coming with me, and 3-4 other pc's in which i tried to setup.
   
   `Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
       at readWasm (/home/test/superset_setup/superset/superset-frontend/node_modules/react-hot-loader/node_modules/source-map/lib/read-wasm.js:8:13)
       at wasm (/home/test/superset_setup/superset/superset-frontend/node_modules/react-hot-loader/node_modules/source-map/lib/wasm.js:25:16)
       at /home/test/superset_setup/superset/superset-frontend/node_modules/react-hot-loader/node_modules/source-map/lib/source-map-consumer.js:264:14
   `
   
   How to reproduce:
   1. Try fresh installation
   2. after superset/superset-frontend when you will do `npm run dev-server` , then above error will come.
   
   
   Above error was also resolved by doing this:
   `export NODE_OPTIONS=--no-experimental-fetch`
   
   But i thought it is better to put in code.


-- 
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


[GitHub] [superset] rusackas commented on pull request #23702: fix: npm run dev-server error resolved

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #23702:
URL: https://github.com/apache/superset/pull/23702#issuecomment-1513872197

   When you say "PCs" do you mean Windows machines? I haven't run into this on Mac, so I'm trying to understand the nature of the error, so I can better understand why this change is needed.


-- 
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


[GitHub] [superset] Abhishek-kumar-samsung commented on pull request #23702: fix: npm run dev-server error resolved

Posted by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org>.
Abhishek-kumar-samsung commented on PR #23702:
URL: https://github.com/apache/superset/pull/23702#issuecomment-1528660640

   @eschutho @rusackas 
   
   I have removed the changes from package.json and moved it to documentation. Written if that error comes to anyone, then he/she can use the solution.
   
   Please review.


-- 
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


[GitHub] [superset] codecov[bot] commented on pull request #23702: fix: npm run dev-server error resolved

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #23702:
URL: https://github.com/apache/superset/pull/23702#issuecomment-1510372156

   ## [Codecov](https://codecov.io/gh/apache/superset/pull/23702?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#23702](https://codecov.io/gh/apache/superset/pull/23702?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (5f73473) into [master](https://codecov.io/gh/apache/superset/commit/b39edc1002f6620b0ae71f96be3df8f9f27070bb?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (b39edc1) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   > :exclamation: Current head 5f73473 differs from pull request most recent head 69174c0. Consider uploading reports for the commit 69174c0 to get more accurate results
   
   ```diff
   @@           Coverage Diff           @@
   ##           master   #23702   +/-   ##
   =======================================
     Coverage   66.30%   66.30%           
   =======================================
     Files        1922     1922           
     Lines       74048    74048           
     Branches     8104     8104           
   =======================================
     Hits        49094    49094           
     Misses      22882    22882           
     Partials     2072     2072           
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | javascript | `54.12% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
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


[GitHub] [superset] Abhishek-kumar-samsung commented on pull request #23702: fix: npm run dev-server error resolved

Posted by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org>.
Abhishek-kumar-samsung commented on PR #23702:
URL: https://github.com/apache/superset/pull/23702#issuecomment-1513612414

   @justinpark @michael-s-molina @villebro @rusackas @eschutho @geido i have added one change to documentation, at the point where nvm install instructions was there (Issue that i was facing while usage so that if anyone else has similar issue can resolve)
   
   Can you please review.


-- 
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


[GitHub] [superset] Abhishek-kumar-samsung commented on pull request #23702: fix: npm run dev-server error resolved

Posted by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org>.
Abhishek-kumar-samsung commented on PR #23702:
URL: https://github.com/apache/superset/pull/23702#issuecomment-1513618649

   @lilykuang @michael-s-molina @villebro @rusackas @eschutho @geido i have added one change to solve one error that was coming while running npm run dev-server, to run superset-frontend.
   
   Please review.
   


-- 
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


[GitHub] [superset] rusackas merged pull request #23702: fix: npm run dev-server error resolved

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas merged PR #23702:
URL: https://github.com/apache/superset/pull/23702


-- 
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


[GitHub] [superset] Abhishek-kumar-samsung commented on pull request #23702: fix: npm run dev-server error resolved

Posted by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org>.
Abhishek-kumar-samsung commented on PR #23702:
URL: https://github.com/apache/superset/pull/23702#issuecomment-1514152001

   > When you say "PCs" do you mean Windows machines? I haven't run into this on Mac, so I'm trying to understand the nature of the error, so I can better understand why this change is needed.
   
   I tried on linux machines.


-- 
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


[GitHub] [superset] eschutho commented on pull request #23702: fix: npm run dev-server error resolved

Posted by "eschutho (via GitHub)" <gi...@apache.org>.
eschutho commented on PR #23702:
URL: https://github.com/apache/superset/pull/23702#issuecomment-1528179331

   @Abhishek-kumar-samsung can you add this environment variable to your local/dev/production machines instead as an option? It may be a more flexible option here, in case the rest of the application uses these fetch commands, which I did find some in a quick code search. 


-- 
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