Giter Site home page Giter Site logo

falcor-express-demo's Issues

Installation completes with errors.

Getting the following errors during installation:

Error: Cannot find module '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:286:25)
    at Function.Module.runMain (module.js:475:10)
    at startup (node.js:117:18)
    at node.js:951:3
Error: Cannot find module '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:286:25)
    at Function.Module.runMain (module.js:475:10)
    at startup (node.js:117:18)
    at node.js:951:3

HttpDataSource directly in new falcor.Model doesn't work

The index.js has:

var model = new falcor.Model({
        source: new falcor.HttpDataSource('/model.json')
});

But this actually doesn't work, it will keep requesting even if the value is already available.

This does work

var modelSource = new falcor.HttpDataSource('/model.json');
var model = new falcor.Model({
        source: modelSource
});

Please include model.json

Thanks for the project. Could you please bundle the model.json with the repo so that I don't have to trace it down and add it myself? When I run npm start, a blank screen is the last thing anyone wants to see.

npm install hangs forever

Hi,

I was trying to install the demo in ubuntu 14.04 LTS and npm install hangs in the following line:
make: Leaving directory '/home/ksankaran/workspace/node/falcor-express-demo/node_modules/falcor-router-demo/node_modules/pouchdb/node_modules/leveldown/build'

Any help is appreciated. Please let me know if you need any other data points from my end.

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.