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 2020/12/03 13:04:09 UTC

[GitHub] [incubator-superset] DrissiReda commented on issue #11694: Loading custom 'Viz' plugin

DrissiReda commented on issue #11694:
URL: https://github.com/apache/incubator-superset/issues/11694#issuecomment-737965443


   I have tried publishing my npm package, adding it to package.json and adding it to `src/visualizations/presets/Mainpreset.js` and I'm getting the same error:
   
   ```bash
   ERROR in ./src/visualizations/presets/MainPreset.js
   Module not found: Error: Can't resolve '@reda_drissi/legacy-preset-chart-deckgl-maptiler' in '/app/superset-frontend/src/visualizations/presets'
   ```
   
   While building the docker image with the official dockerfile.
   
   I also ran "npm install" locally to build the appropriate package-lock.json so that "npm ci" in the Dockerfile finds the right file.
   


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

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