Comments (19)
of the mozaik dependencies
from mozaik.
@foodaka, which Mozaïk version do you use ? What method did you used for installation (mozaik-demo/yeoman generator), and finally which version of node/npm are your running Mozaïk on ?
from mozaik.
ok you used the mozaik-demo, the path is in the stack trace :)
from mozaik.
thanks for the quick reply. node v4.2.3
from mozaik.
and for npm ?
from mozaik.
npm 2.14.7
from mozaik.
hum, I get the same error… it's weird because the demo is automatically deployed on heroku and it works, I must have missed something, don't have the time to fix it now, but I'll look later
from mozaik.
ok thanks drop me a ping, i would love to try out this solution
from mozaik.
@foodaka, you can pull the demo repo / rm node_modules and re-install, should be ok
from mozaik.
awesome thanks got it up and running. users may run into error with babelify, just run
npm install babelify
from mozaik.
I use npm@3, modules get flattened, I think that's why babelify is available for me and not for you.
I close it as it seems to work, thanks for your report.
from mozaik.
I think you had a warning on installation
"engines": {
"node": "0.12.x",
"npm" : ">=3.0.0"
},
from mozaik.
@plouc I'm still getting errors with the mozaik-demo
Here's the output:
mozaik-demo/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-generator.js:275
throw new Error('Invalid mapping: ' + JSON.stringify({
^
Error: Invalid mapping: {"generated":{"line":42757,"column":10},"source":"Branch.jsx","original":{},"name":null}
at SourceMapGenerator_validateMapping [as _validateMapping] (/home/mike/Documents/maramoja/mozaik-demo/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-generator.js:275:15)
at SourceMapGenerator_addMapping [as addMapping] (/home/mike/Documents/maramoja/mozaik-demo/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-generator.js:105:14)
at /home/mike/Documents/maramoja/mozaik-demo/node_modules/inline-source-map/index.js:40:15
at Array.forEach (native)
at Generator.addMappings (/home/mike/Documents/maramoja/mozaik-demo/node_modules/inline-source-map/index.js:38:12)
at Combiner._addExistingMap (/home/mike/Documents/maramoja/mozaik-demo/node_modules/combine-source-map/index.js:33:18)
at Combiner.addFile (/home/mike/Documents/maramoja/mozaik-demo/node_modules/combine-source-map/index.js:58:12)
at Transform.write [as _transform] (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/index.js:62:23)
at Transform._read (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at Transform._write (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/node_modules/readable-stream/lib/_stream_transform.js:172:12)
at doWrite (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at Transform.Writable.write (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at write (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/node_modules/readable-stream/lib/_stream_readable.js:623:24)
at flow (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/node_modules/readable-stream/lib/_stream_readable.js:632:7)
at Transform.pipeOnReadable (/home/mike/Documents/maramoja/mozaik-demo/node_modules/browser-pack/node_modules/readable-stream/lib/_stream_readable.js:664:5)
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build-assets"
npm ERR! node v5.11.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! mozaik-dashboard@ build-assets: `gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mozaik-dashboard@ build-assets script 'gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mozaik-dashboard package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mozaik-dashboard
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mozaik-dashboard
npm ERR! There is likely additional logging output above.
I'm currently using Ubuntu 16.04
from mozaik.
@modomodo can you show me the content of your package.json please ?
from mozaik.
I'm using the default settings. I haven't changed anything from the mozaik-demo:
{
"name": "mozaik-dashboard",
"description": "Mozaïk demo dashboard",
"repository": {
"type": "git",
"url": "git://github.com/plouc/mozaik-demo"
},
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
"url": "https://github.com/plouc"
},
"engines": {
"node": "0.12.x",
"npm" : ">=3.0.0"
},
"dependencies": {
"babel-preset-es2015": "6.6.0",
"babel-preset-react": "6.5.0",
"babel-register": "6.7.2",
"dotenv": "^0.5.1",
"gulp": "^3.9.0",
"lodash": "^3.10.0",
"mozaik": "1.3.0",
"mozaik-ext-github": "1.2.1",
"mozaik-ext-time": "1.1.0",
"mozaik-ext-travis": "1.1.0",
"mozaik-ext-weather": "1.2.0",
"react": "^0.13.3"
},
"scripts": {
"test": "npm run build-assets",
"start": "node app.js",
"postinstall": "if $BUILD_ASSETS; then npm run build-assets; fi",
"build-assets": "gulp build"
}
}
from mozaik.
@modomodo you can just re-pull the repo / rm node_modules and re-install, should fix your problem
from mozaik.
Its now working. Thanks alot @plouc 👍
What exactly was the problem?
from mozaik.
mozaik-ext-github required an higher version of mozaik
from mozaik.
Had the same problem today. Upgrading mozaik
fixed it.
Thank you.
from mozaik.
Related Issues (20)
- [Enhancement] Keyboard support to switch dashboards (space, left, right) HOT 1
- [Enhancement] Serve multiple dashboards based on config file HOT 1
- Navigation between dashboards HOT 3
- build failed when jsx syntax added HOT 1
- error while using widget ui component HOT 1
- Display json data
- Extension Tutorial for V2 HOT 1
- External/Automatic reload of Dashboard configuration HOT 1
- Proxy error: Could not proxy request /config from localhost:3000 to http://localhost:5000. HOT 1
- Demo disappears after a few seconds, then returns... HOT 1
- Insert JS in widget or dashboard
- how to run Mozaik with ASP Core backend HOT 3
- Error in npm-install mozaik demo.
- engine.io client requires ES6 to build HOT 3
- Demo is down HOT 1
- Is the demo down? HOT 1
- localhost:5000 refused to connect postman windows 64bit
- Proxy error: Could not proxy request /api/products/top from localhost:3000 to http://localhost:8000/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
- Proxy error: Could not proxy request /api/workouts from localhost:3001 to http://localhost:3001/ (ECONNREFUSED).
- Demo hosted on Heroku doesn't work HOT 1
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 mozaik.