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: [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]

Reply via email to