Comments (13)
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 @cubejs-client
dependencies should go to dashboard-app
and they will be added automatically when you add chart to dashboard in Playground.
from cube.
I have run npm run dev
command then I am able to see 3 tabs explore dashboard and schema when I click dashboard it starts creating react-app by downloading react modules, then only I got dashboard-app created. I don't have any idea what npm i --save @cubejs-client/core npm i --save @cubejs-client/react
will do since I already have frontend code ready and dashboard is automatically created by running this command when I clicked on the tab then I why it wasn't running when I was running from my console manually? Rest I also want to address one more issue is that after I create some table in explore but when I click Add to dashboard
button I see some error in dashboard
Here is the pic I am sharing with the console error visible.
https://pasteboard.co/IaQmg9M.png
from cube.
@paveltiunov I guess these automatically import is also not working and when I inspect my package.json file. I didn't find anything added
{
"name": "dashboard-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "2.1.8"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
from cube.
@paveltiunov can you please help me with this problem?
from cube.
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 App.js
from dashboard-app/src
?
Thanks!
from cube.
I have a similar issue as @sameerkhan662 . I get an error every time I click on add to dashboard -
Error: src/App.js file not found. Can't parse dashboard app. at e.value (http://localhost:4000/static/js/main.517f69b2.js:1:38696) at e. (http://localhost:4000/static/js/main.517f69b2.js:1:37521) at R (http://localhost:4000/static/js/vendors~main.52e4c5c9.chunk.js:67:9299) at Generator._invoke (http://localhost:4000/static/js/vendors~main.52e4c5c9.chunk.js:67:9087) at Generator.e.(anonymous function) [as next] (http://localhost:4000/static/js/vendors~main.52e4c5c9.chunk.js:67:9478) at n (http://localhost:4000/static/js/babel~main.af0fd698.chunk.js:1:39395) at s (http://localhost:4000/static/js/babel~main.af0fd698.chunk.js:1:39597)
from cube.
Issue Fixed in version 0.7.8 onwards. Thank you @paveltiunov
from cube.
@BMAnush but when this new version came?? I guess I didn't gave any version so it might have downloaded the latest one.
from cube.
@sameerkhan662 it was out few hours ago....try creating a new project and try again.
from cube.
Hey @sameerkhan662 ! We just recently stumbled upon these Failed to fetch
issues. I'm curious are you trying to run playground on a remote server and accessing it with address other than localhost
?
from cube.
@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
from cube.
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 npm run start
from dashboard-app directory and access it on 3000 port by default. Could you please try and let me know if it works for you?
from cube.
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?
from cube.
Related Issues (20)
- @cubejs-client/ngx points to module that does not exists
- cubestore-router unable to resolve s3 address in govcloud HOT 1
- is Azure AD / SAML support for self-hosted version? HOT 1
- Add a service for the zeppelin component HOT 1
- How to Retrieve Request Information for the SQL API? HOT 1
- Multiple Data Sources Not effective HOT 1
- Feedback for “Subquery dimensions” HOT 2
- Multi Query will cause create two duckdb driver HOT 2
- Unable to use SQL API HOT 5
- How does SQL API handle monitoring? HOT 1
- async config does not work HOT 1
- Seeking Help with Dynamic Granularity and Last Value Integration HOT 1
- Missing data handling for time-dimension based queries HOT 4
- what are the best practices to model cubes and views when we have multiple measures
- When a cube is connected in postgresql mode, the time interval is a problem when sql uses date filtering HOT 5
- Getting Unsupported filter scalar: int32(3) while executing query which filters dayofweek HOT 2
- Starburst connector, including security features (roles, oauth2 passthrough) HOT 1
- Tableau: CASE WHEN support for WHERE query section HOT 1
- Support for automatic selection of appropriate measure based on dimensions specified HOT 3
- Feedback for “Add a pre-aggregation”
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cube.