electrode-io / electrode-explorer Goto Github PK
View Code? Open in Web Editor NEWAn Electrode application that showcases all of your components in a live demo
An Electrode application that showcases all of your components in a live demo
Live demo link in the github readme seems to be broken.
clone, npm install, gulp dev, and I see this in the console:
Hapi.js server running at http://MORDOR:3000
However upon hitting http://MORDOR:3000
, I see this error in the console:
Electrode ReduxRouterEngine Error: TypeError: Cannot read property 'replace' of undefined
at escapeBadChars (D:\devel\ele\electrode-explorer\node_modules\electrode-redux-router-engine\lib\redux-router-engine.js:22:22)
at ReduxRouterEngine.options.stringifyPreloadedState (D:\devel\ele\electrode-explorer\node_modules\electrode-redux-router-engine\lib\redux-router-engine.js:36:52)
at _getReduxStoreInitializer.call.then (D:\devel\ele\electrode-explorer\node_modules\electrode-redux-router-engine\lib\redux-router-engine.js:132:24)
at bound (domain.js:301:14)
at runBound (domain.js:314:12)
at tryCatcher (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromiseCtx (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\promise.js:606:10)
at Async._drainQueue (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\async.js:138:12)
at Async._drainQueues (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\async.js:143:10)
at Immediate.Async.drainQueues (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:781:20)
at tryOnImmediate (timers.js:743:5)
at processImmediate [as _immediateCallback] (timers.js:714:5)
Also noticed in Chrome Developer Tools that these two resources are 404s
Heroku yields an error when trying to access the demo at: https://electrode-explorer.herokuapp.com/
It would be nice to see that awesome looking explorer :)
When I build and deploy to Docker and when I hit
http://localhost:3000/api/update/REPO/component
I get an error :
Error encountered: ENOENT: no such file or directory, open '/usr/src/app/data/REPO/component.json'
as a response.
I added a bit of logging and I see that update handlers fetchRepo is trying to read :
/usr/src/app/data/REPO/component.json and is complaining because it does not exist.
I dump out my meta data from the github call and that looks complete.
The message after these logs are
module info stderr npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info attempt registry request try #1 at 7:00:44 PM
npm http request GET https://registry.npmjs.org/react-intl
npm http 304 https://registry.npmjs.org/react-intl
npm info ok
Pretty sure my env variables are correct and that all my github tokens and npmrc file is there.
Also, this works fine running on my local machine not in a Docker container.
Any ideas?
Thanks,
Lee.
It would be great.
Allow for explorer to consume components/modules from non-github providers like bitbucket, gitlab, etc..
related feature requests by @alecwhittington and @whoisjonniegalt:
electrode-io/electrode-io.github.io#357
electrodejs/deprecated-generator-electrode-component#17
clone, npm install, gulp dev, and I see this in the console:
Hapi.js server running at http://MORDOR:3000
However upon hitting http://MORDOR:3000
, I see this error in the console:
Electrode ReduxRouterEngine Error: TypeError: Cannot read property 'replace' of undefined
at escapeBadChars (D:\devel\ele\electrode-explorer\node_modules\electrode-redux-router-engine\lib\redux-router-engine.js:22:22)
at ReduxRouterEngine.options.stringifyPreloadedState (D:\devel\ele\electrode-explorer\node_modules\electrode-redux-router-engine\lib\redux-router-engine.js:36:52)
at _getReduxStoreInitializer.call.then (D:\devel\ele\electrode-explorer\node_modules\electrode-redux-router-engine\lib\redux-router-engine.js:132:24)
at bound (domain.js:301:14)
at runBound (domain.js:314:12)
at tryCatcher (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromiseCtx (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\promise.js:606:10)
at Async._drainQueue (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\async.js:138:12)
at Async._drainQueues (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\async.js:143:10)
at Immediate.Async.drainQueues (D:\devel\ele\electrode-explorer\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:781:20)
at tryOnImmediate (timers.js:743:5)
at processImmediate [as _immediateCallback] (timers.js:714:5)
Also noticed in Chrome Developer Tools that these two resources are 404s
http://127.0.0.1:2992/js/style.css
http://127.0.0.1:2992/js/bundle.dev.js
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.