Code Monkey home page Code Monkey logo

ambidex-example--bike-index's People

Contributors

appsforartists avatar kuu avatar sethherr avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

ambidex-example--bike-index's Issues

TypeError: undefined is not a function

TypeError: undefined is not a function
    at http://192.168.2.107:8081/bundles/jsx.js:21513:16
    at Array.forEach (native)
    at camelizeKeys (http://192.168.2.107:8081/bundles/jsx.js:21497:22)
    at Function.BikeModel.fromBikeIndex (http://192.168.2.107:8081/bundles/jsx.js:21531:17)

I think it says endsWith is undefined—is there a polyfill missing?
This seems to work in Canary but not in stable Chrome.

npm install fails

npm fails notifying me that Ambidex is not in the npm registry. Changing package.json to ambidex and re-running npm install seems to install everything just fine.

npm ERR! 404 Not Found: Ambidex
npm ERR! 404
npm ERR! 404 'Ambidex' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'ambidex-example--bike-index'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

After changing package.json with ambidex I get:

Module not found: Error: Cannot resolve module 'react-hot-loader'

I add that, then I get

Cannot resolve module 'jsx-loader'

Then I give up.

Unable to view project

It installs and starts correctly, but then fails when I access http://tardis.local/

What's going wrong? (node via homebrew, OSX Mavericks)

module.js:340
    throw err;
          ^
Error: Cannot find module 'mach'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/.../ambidex-example--bike-index/application/server.js:2:15)
    at Module._compile (module.js:456:26)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/.../ambidex-example--bike-index/node_modules/node-jsx/index.js:26:12)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

printout from npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start', 'tardis' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink /usr/local/bin/node
5 verbose run-script [ 'prestart', 'start', 'poststart' ]
6 info prestart [email protected]
7 info start [email protected]
8 verbose unsafe-perm in lifecycle true
9 info [email protected] Failed to exec start script
10 verbose stack Error: [email protected] start: `node --harmony ./init.js tardis`
10 verbose stack Exit status 8
10 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:212:16)
10 verbose stack     at EventEmitter.emit (events.js:98:17)
10 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)
10 verbose stack     at ChildProcess.emit (events.js:98:17)
10 verbose stack     at maybeClose (child_process.js:766:16)
10 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:833:5)
11 verbose pkgid [email protected]
12 verbose cwd /Users/.../ambidex-example--bike-index
13 error Darwin 13.4.0
14 error argv "node" "/usr/local/bin/npm" "start" "tardis"
15 error node v0.10.35
16 error npm  v2.1.18
17 error code ELIFECYCLE
18 error [email protected] start: `node --harmony ./init.js tardis`
18 error Exit status 8
19 error Failed at the [email protected] start script 'node --harmony ./init.js tardis'.
19 error This is most likely a problem with the ambidex-example--bike-index package,
19 error not with npm itself.

getting Type errors when running the example

Uncaught TypeError: object is not a function
styles.js:1584 8
styles.js:509 __webpack_require__
styles.js:77 fnstyles.js:6815 94
styles.js:509 __webpack_require__
styles.js:77 fn
styles.js:10776 (anonymous function)
styles.js:10842 98
styles.js:509 __webpack_require__
styles.js:77 fn
styles.js:563 0
styles.js:509 __webpack_require__
styles.js:532 modules.(anonymous function)
styles.js:535 (anonymous function)

Uncaught TypeError: object is not a function
jsx.js:1575 (anonymous function)
jsx.js:509 __webpack_require__
jsx.js:77 fn
jsx.js:40063 (anonymous function)
jsx.js:509 __webpack_require__
jsx.js:77 fn
jsx.js:561 module.exports.module.deprecate
jsx.js:509 __webpack_require__
jsx.js:532 modules.(anonymous function)
jsx.js:535 (anonymous function)

(the site does not load correctly)

Lowercasing ambidex package name confuses Webpack

Hi Brenton,

I'm trying to get this example up and running on a Macbook Pro and it's going very, very badly. :(

By cloning https://github.com/appsforartists/ambidex-example--bike-index.git, instead of whats in the README, I got this repo cloned. Ran npm install in the project folder, and tried starting it up. Apparently npm start <param> treats param as a module name, so it tries to find a 'tardis' module in the node_modules folder and errors out because that's not what the code expects to see happen. I'm using Node 0.10.33, maybe that's got something to do with it?

node init.js tardis seems to load the app while still passing that 'tardis' parameter along. At that point, WebPack complains that it can't resolve react-hot-loader. Using npm to install that, Webpack then complains it can't find jsx-loader. Installing that with npm gets this to a runnable state, but there's still a bunch of warnings from webpack, this time about multiple modules with the same name - all in react-hot-loader and jsx-loader. Obviously I'm crawling under this hurdle instead of jumping it the right way. No idea what I'm supposed to be doing.

http://tardis.local:8080/ being accessible now, I try poking at it. Clicking a bike in the leftmost iframe loads a new page in that iframe... with a new request/response cycle... kind of like any web page from 1996 would... and the console log is full of "Cannot read property 'NODE_ENV' of undefined". Nothing else on the page seems to do anything. So pretty much there's no javascript running on the page at this point, probably because of the NODE_ENV thing.

Basically this is badly broken and isn't working at all for me, and gosh I really want it to. When you get a chance, can you try this repo out and see what's going on? I'm suspecting that Ambidex has grown and this example is just lagging behind, but if I understood Ambidex well enough to fix it, I wouldn't need an example app ;)

Thanks awfully much.

The package react-tap-event-plugin does not satisfy its siblings' peerDependencies requirements!

Hey!

I tried installing this example app.
Unfortunately, there are some dependency conflicts.
Tried with 0.10, 0.11 and 0.12 (using nvm)

Here is the last error I got (with 0.12)

npm WARN package.json [email protected] No README data
npm ERR! Linux 3.16.0-34-generic
npm ERR! argv "node" "/home/koen/.nvm/versions/node/v0.12.2/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm  v2.8.3
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react-tap-event-plugin does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants react-tap-event-plugin@~0.1.3

Any ideas?

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.