Skip to content
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

Unable to install #31

Open
ashish-verizon opened this issue Mar 2, 2018 · 4 comments
Open

Unable to install #31

ashish-verizon opened this issue Mar 2, 2018 · 4 comments

Comments

@ashish-verizon
Copy link

Hi,

Looks like a tool I can use to enable few of my analysts instead of having to write dashboards for them. It looks like it is hitting some dependency issues - perhaps just a matter of updating package.json.

`=> Started proxy.
=> Started MongoDB.
=> Meteor 1.6.1 is available. Update this project with 'meteor update'.

Unable to resolve some modules:

"create-react-class" in /Users/v632654/Playground/Databazel/node_modules/react-chartjs/lib/core.js (web.browser)

If you notice problems related to these missing modules, consider running:

meteor npm install --save create-react-class

I20180302-14:12:03.508(-5)? Kadira: completed instrumenting the app
=> Started your app.

=> App running at: http://localhost:3000/
I20180302-14:12:03.610(-5)? admin added`

Browser showed issues loading create-react-class and so i went ahead and tried to install the package using suggested command. It ended up with this error.

`meteor npm install --save create-react-class
npm ERR! Darwin 16.7.0
npm ERR! argv "node" "/Users/v632654/.meteor/packages/meteor-tool/.1.3.2_4.15fosot.wga2++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm" "install" "--save" "create-react-class"
npm ERR! node v0.10.43
npm ERR! npm v2.14.22
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants material-ui@^0.15.0`

Appreciate any pointers to move forward.

Thanks!

@ashish-verizon
Copy link
Author

actually an update -- meteor npm install didnt work but npm install actually installed create-react-class. I dont any issue bootstrapping the app anymore UI doesnt load (completely blank). I see this in browser console:

_react-treeview.js:19 Uncaught TypeError: Super expression must either be null or a function, not undefined
at inherits (react-treeview.js:19)
at react-treeview.js:30
at meteorInstall.node_modules.react-treeview.lib.react-treeview.js (react-treeview.js:104)
at fileEvaluate (install.js:141)
at require (install.js:75)
at meteorInstall.client.modules.workplace.components.collection_fields.object_tree.jsx (object_tree.jsx:3)
at fileEvaluate (install.js:141)
at require (install.js:75)
at meteorInstall.client.modules.workplace.containers.object_tree.js (object_tree.js:3)
at fileEvaluate (install.js:141)
router.js:347 There is no route for the path: /



@ashish-verizon
Copy link
Author

So I finally managed to get it up and running on
npm -v
5.7.1
node -v
v8.9.4

With this package.json

{
"name": "databazel",
"version": "0.0.1",
"scripts": {
"start": "meteor run --settings config/settings.json",
"quasar": "java -jar ../quasar.jar -c config/quasar.json",
"lint": "eslint .",
"lintfix": "npm run lint -- --fix",
"pretest": "npm run lint --silent",
"testonly": "mocha client//tests//*.js --compilers js:babel-core/register",
"test": "npm run lint && npm run testonly",
"test-watch": "npm run testonly -- --watch --watch-extensions js"
},
"dependencies": {
"can-use-dom": "^0.1.0",
"chart.js": "^1.1.1",
"codemirror": "^5.19.0",
"echarts": "^3.5.2",
"echarts-for-react": "^1.1.3",
"enquire.js": "^2.1.1",
"fibers": "^1.0.13",
"formsy-material-ui": "^0.6.3",
"formsy-react": "^0.19.5",
"i18n-2": "^0.6.3",
"jquery": "^3.3.1",
"jszip": "^3.1.1",
"mantra-core": "^1.6.1",
"material-ui": "^0.18.7",
"meteor-node-stubs": "~0.2.0",
"moment": "^2.14.1",
"react": "^15.6.2",
"react-chartjs": "1.2.0",
"react-codemirror": "^0.2.6",
"react-dom": "^15.6.2",
"react-grid-layout": "^0.12.7",
"react-mounter": "^1.2.0",
"react-resizable": "^1.6.0",
"react-slick": "^0.14.5",
"react-tap-event-plugin": "^2.0.1",
"react-treeview": "^0.4.5",
"slick-carousel": "^1.6.0"
},
"devDependencies": {
"babel-core": "^6.9.1",
"babel-plugin-react-require": "^2.1.0",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-2": "^6.5.0",
"babel-root-slash-import": "^1.0.0",
"chai": "^3.5.0",
"enzyme": "^2.3.0",
"eslint": "^2.11.1",
"eslint-config-airbnb": "^9.0.1",
"eslint-plugin-import": "^1.8.1",
"eslint-plugin-jsx-a11y": "^1.3.0",
"eslint-plugin-meteor": "^3.6.0",
"eslint-plugin-react": "^5.1.1",
"mocha": "^2.5.3",
"react-addons-test-utils": "^15.1.0",
"sinon": "^1.17.4",
"underscore": "^1.8.3",
"prompt": "1.0.0"
},
"private": true
}

However, other than 1 basic table, I can't really run much in UI. It will be really helpful to see what others who have done this recently and with fairly recent versions of npm and node.

@ashish-verizon
Copy link
Author

Installation was better with suggestion in #30 but haven't made much progress beyond installing. I tried to create a simple table joining 2 collections and keep getting "Bad Request" error. I can't see error stacks anywhere. Is there is a version of MongoDB / Node + NPM this works on more reliably? I can start with that and test

@ashish-verizon
Copy link
Author

project looked promising but i moved onto https://www.dremio.com/ community edition. Seems a lot more stable and supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant