AmpersandJS / ampersand

Quickest way to get started with ampersand.
MIT License
812 stars 41 forks source link

App generation fails on node@0.12 and iojs@1.0 because of `gaze` #105

Closed fyockm closed 9 years ago

fyockm commented 9 years ago

gaze@0.6.4 is used in stylizer and causes an error when attempting to generate a new ampersand app on node@0.12 or iojs@1.0. See https://github.com/shama/gaze/issues/175 for more info.

As a workaround, you can try:

$ npm install shama/gaze#navelgazer && npm install
therebelrobot commented 9 years ago

+1. ran into this bug today. Mac OS X Yosemite, NVM 0.24.0, io.js 1.5.1. Not sure how to apply the workaround above, @fyockm do you mean try that on a local fork of ampersand then run ampersand elsewhere, or try it in the directory you're trying to run ampersand in after installation?

Works when switching back to node 0.10.35. I'll use that for now.

fyockm commented 9 years ago

@therebelrobot Sorry for the delayed response. You run the command above after generating the ampersand app. Typically the CLI ends with:

My Amazing App was created!

now cd to it, install dependencies, and run it:

    $ cd amptest && npm install && npm start

But instead of just running npm install, you should install gaze first by itself.

Side note: I think the problem with iojs is different, as mentioned in #112.

aMarCruz commented 9 years ago

+1 workaround ok in Win7, 32bits and node 0.12