Giter Site home page Giter Site logo

electrode-explorer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

electrode-explorer's Issues

Cannot read property 'replace' of undefined

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

Electrode explorer in docker problems

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.

Electrode Explorer Doesn't Run Out of the Box?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.