-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading reactjs dependencies for cubejs #82
Comments
Hey @sameerkhan662 ! It's very interesting issue. It seems npm related. Could you please try to install any package other than cube.js? Also these |
I have run |
@paveltiunov I guess these automatically import is also not working and when I inspect my package.json file. I didn't find anything added
|
@paveltiunov can you please help me with this problem? |
Hey @sameerkhan662! So seems like your dashboard app is created successfully. Could you please elaborate a little bit about moment when you click add to dashboard button? What do you see in your console? Could you please also provide your |
I have a similar issue as @sameerkhan662 . I get an error every time I click on add to dashboard - |
Issue Fixed in version 0.7.8 onwards. Thank you @paveltiunov |
@BMAnush but when this new version came?? I guess I didn't gave any version so it might have downloaded the latest one. |
@sameerkhan662 it was out few hours ago....try creating a new project and try again. |
Hey @sameerkhan662 ! We just recently stumbled upon these |
@paveltiunov yes I have my cubejs on virtual machine which is hosted on my main local machine I am working therefore.....i am accessing from main machine at 10.10.51.19 after running cubejs since my vm ipaddress is 10.10.51.19.....though I have not tried since the update like @BMAnush is telling it's a bug and got resolved in latest version |
Hey @sameerkhan662 ! Gotcha. Yep. It doesn't work due to Mixed Content restrictions because codesandbox that renders dashboard uses HTTPS. So as a workaround you can run dashboard-app using |
Hey @sameerkhan662 ! We just recently rolled out version in which dashboard runs as part of dev server and can be accessed by public IP. Could you please upgrade and check? |
cubejs create hello-world -d postgres
I am using postgres for database. After starting localhost on my vm and accessing it via my host machine then some dependencies got downloaded for reactjs app(Also creating a reactjs app inside a dashboard-app folder) later I wanted to add dependencies
$ npm i --save @cubejs-client/core
$ npm i --save @cubejs-client/react
Don't know where to add in hello-world or dashboard-app?
and also after running it in both places I am getting
npm ERR! Unexpected end of JSON input while parsing near '...r\n-----END PGP SIGNA'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/navs/.npm/_logs/2019-04-17T10_26_24_301Z-debug.log
navs@kafka:~/CubeJS/hello-world$ npm i --save @cubejs-client/core
npm ERR! Unexpected end of JSON input while parsing near '...r\n-----END PGP SIGNA'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/navs/.npm/_logs/2019-04-17T10_28_53_779Z-debug.log
navs@kafka:
/CubeJS/hello-world$ cd dashboard-app//CubeJS/hello-world/dashboard-app$ npm i --save @cubejs-client/corenavs@kafka:
npm ERR! Unexpected end of JSON input while parsing near '...r\n-----END PGP SIGNA'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/navs/.npm/_logs/2019-04-17T10_29_21_857Z-debug.log
navs@kafka:
/CubeJS/hello-world/dashboard-app$ cd ../CubeJS/hello-world$ npm i --save @cubejs-client/corenavs@kafka:
npm ERR! Unexpected end of JSON input while parsing near '...r\n-----END PGP SIGNA'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/navs/.npm/_logs/2019-04-17T10_30_37_847Z-debug.log
The text was updated successfully, but these errors were encountered: