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/07/01 11:01:12 UTC
[GitHub] [superset] ecpbi opened a new issue #15496: Installation of custom vizualisation fails
ecpbi opened a new issue #15496:
URL: https://github.com/apache/superset/issues/15496
Hello
I use Ubuntu 20.04.
I tried to install a development environment for the creation of custom vizualisations by folllowing the tutorial at [https://superset.apache.org/docs/installation/building-custom-viz-plugins]. Unfortunately, I could not achieve this procedure as the Run npm run dev-server to spin up the Webpack hot-reloading server fails.
First cause is there is no package.json file in the superset directory.
Second, after copying the package.json from superset-frontend, the process fails :
$ npm run dev-server
> superset@0.999.0-dev dev-server /home/superset/superset
> cross-env NODE_ENV=development BABEL_ENV=development node --max_old_space_size=4096 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode=development
sh: 1: cross-env: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! superset@0.999.0-dev dev-server: `cross-env NODE_ENV=development BABEL_ENV=development node --max_old_space_size=4096 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode=development`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the superset@0.999.0-dev dev-server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/superset/.npm/_logs/2021-07-01T10_02_12_071Z-debug.log
I think the tutorial should be corrected or completed.
Thank you in advance
--
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] desenvolvedorjairomonassa commented on issue #15496: Installation of custom vizualisation fails
Posted by GitBox <gi...@apache.org>.
desenvolvedorjairomonassa commented on issue #15496:
URL: https://github.com/apache/superset/issues/15496#issuecomment-879115865
try to use yarn : yarn install , in orde to do that npm install --global yarn, npm sometime doens't work
--
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] guipalazzo commented on issue #15496: Installation of custom vizualisation fails
Posted by GitBox <gi...@apache.org>.
guipalazzo commented on issue #15496:
URL: https://github.com/apache/superset/issues/15496#issuecomment-879105124
Yes, same issue observed 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