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 2022/02/24 06:36:56 UTC

[GitHub] [superset] pm20202 opened a new issue #18912: Module not found Error Building custom viz plugins in superset

pm20202 opened a new issue #18912:
URL: https://github.com/apache/superset/issues/18912


   A clear and concise description of what the bug is.
   I am trying to install Superset for building custom visualization using the guide at: https://superset.apache.org/docs/installation/building-custom-viz-plugins/
   
   Please note that I am attempting it on Ubuntu 20.04 VMs behind a proxy. And I am running superset on http://localhost:9000/(in dev mode)
   
   However, for tinkering with custom visualizations, I need to go https://superset.apache.org/docs/installation/building-custom-viz-plugins/#add-your-plugin-to-superset-with-npm-link. After following all the steps successfully when I run it on 9000 port
   I got this error. _"Module not found: Error: Can't resolve '@superset-ui/plugin-chart-hello-world' in '/home/rrscw/superset/superset-frontend/src/visualizations/presets''_
   
   #### How to reproduce the bug
   
   ### Expected results
   
   hello world chart plugin visible in superset on port 9000 in dev mode.
   
   ### Actual results
   https://superset.apache.org/docs/installation/building-custom-viz-plugins/#add-your-plugin-to-superset-with-npm-link
   After adding package in package.json using above link and successfully doing changes in MainPreset.js file I got this error:
    
   ERROR in ./src/visualizations/presets/MainPreset.js 40:0-74
   Module not found: Error: Can't resolve '@superset-ui/plugin-chart-hello-world' in '/home/rrscw/superset/superset-frontend/src/visualizations/presets'
   
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   
   ### Environment
   
   (please complete the following information):
   
   OS: Ubuntu Server 20.04
   Python on VM: 3.8.10
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   
   


-- 
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] pm20202 removed a comment on issue #18912: Module not found Error Building custom viz plugins in superset

Posted by GitBox <gi...@apache.org>.
pm20202 removed a comment on issue #18912:
URL: https://github.com/apache/superset/issues/18912#issuecomment-1049652726


   Thanks a lot! It worked for me


-- 
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] pm20202 commented on issue #18912: Module not found Error Building custom viz plugins in superset

Posted by GitBox <gi...@apache.org>.
pm20202 commented on issue #18912:
URL: https://github.com/apache/superset/issues/18912#issuecomment-1049672981


   Thanks ! It worked for me
   


-- 
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] pm20202 commented on issue #18912: Module not found Error Building custom viz plugins in superset

Posted by GitBox <gi...@apache.org>.
pm20202 commented on issue #18912:
URL: https://github.com/apache/superset/issues/18912#issuecomment-1049652726


   Thanks a lot! It worked for me


-- 
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] villebro commented on issue #18912: Module not found Error Building custom viz plugins in superset

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #18912:
URL: https://github.com/apache/superset/issues/18912#issuecomment-1049546058


   This is the correct page: https://superset.apache.org/docs/contributing/creating-viz-plugins . I'll make sure the old one gets removed. Please also check out a blog post + an example plugin I wrote for the article: https://preset.io/blog/building-custom-viz-plugins-in-superset-v2/


-- 
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] villebro commented on issue #18912: Module not found Error Building custom viz plugins in superset

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #18912:
URL: https://github.com/apache/superset/issues/18912#issuecomment-1049544765


   @pm20202 thanks for reporting - it appears this documentation is the old one. Let me see if the documentation has been reverted at some point.


-- 
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] villebro closed issue #18912: Module not found Error Building custom viz plugins in superset

Posted by GitBox <gi...@apache.org>.
villebro closed issue #18912:
URL: https://github.com/apache/superset/issues/18912


   


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