Giter Club home page Giter Club logo

Comments (9)

jeromecovington avatar jeromecovington commented on July 3, 2024

I tried a couple of different versions of NodeJS (0.10 and 0.12) while running through the Yeoman generator. With both versions of NodeJS, I encountered the same error.

from generator-impactplusplus.

racingcow avatar racingcow commented on July 3, 2024

@jeromecovington ,

It doesn't seem to be downloading impactjs for some reason. Is it possible that you are running from a command prompt / bash shell where git is not in the path?

If you run git, on your command prompt, for example, do you see the usage help text or do you get an error?

I get the same error that you do when I try and run yo impactplusplus from a machine without git in the path.

from generator-impactplusplus.

itsOgden avatar itsOgden commented on July 3, 2024

I'm getting almost the exact same error on my end as well. I did verify that git is in the path and working just fine.

invoke   impactplusplus:update-impactjs
events.js:87
      throw Error('Uncaught, unspecified "error" event.');
            ^
Error: Uncaught, unspecified "error" event.
    at Error (native)
    at emit (events.js:87:13)
    at done (/Users/Pdog1/nvm/versions/node/v0.12.0/lib/node_modules/generator-impactplusplus/node_modules/yeoman-generator/lib/base.js:318:16)
    at /Users/Pdog1/nvm/versions/node/v0.12.0/lib/node_modules/generator-impactplusplus/update-impactjs/index.js:67:17
    at cb (/Users/Pdog1/nvm/versions/node/v0.12.0/lib/node_modules/generator-impactplusplus/node_modules/ncp/lib/ncp.js:224:23)
    at onError (/Users/Pdog1/nvm/versions/node/v0.12.0/lib/node_modules/generator-impactplusplus/node_modules/ncp/lib/ncp.js:216:12)
    at /Users/Pdog1/nvm/versions/node/v0.12.0/lib/node_modules/generator-impactplusplus/node_modules/ncp/lib/ncp.js:65:16
    at FSReqWrap.oncomplete (fs.js:99:15)

from generator-impactplusplus.

racingcow avatar racingcow commented on July 3, 2024

I switched to a Mac (was originally working on Windows) and got the exact same error once. After deleting the files and running the generator again, however, I can't seem to get it to happen again.

I've improved the error handling a bit. @jeromecovington or @itsOgden , could you try it once more with the latest from github, and let me know the output?...

sudo npm uninstall -g generator-impactplusplus
sudo npm install -g git+https://github.com/racingcow/generator-impactplusplus.git
yo impactplusplus

from generator-impactplusplus.

itsOgden avatar itsOgden commented on July 3, 2024

@racingcow,

this is the error I get now:

impactjs...
   invoke   impactplusplus:update-impactjs
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: EACCES, mkdir '/lib'
    at Error (native)

from generator-impactplusplus.

racingcow avatar racingcow commented on July 3, 2024

Thanks, @itsOgden. I added more logging to try and help track it down. Could you try it once more for me with the latest off of github and post your output?

Here is what I get when I run it...

...
? What would you like to call your game? impacttest3
? Enter a description for your game: You should play this game
? What is your github user name? someuser
? Impactjs location? (or license key to download) XXXX-XXXX-XXXX-XXXX
? Start with which sample? supercollider
impactjs...
   invoke   impactplusplus:update-impactjs
    downloading from http://impactjs.com
src = "../impact"
destinationRoot = "/Users/dmiller/Documents/dev/github/impacttest3"
dest = "/Users/dmiller/Documents/dev/github/impacttest3/lib/impact"
creating dest
checking if "../impact/lib/impact" exists.
exists = true
adjSrc = ../impact/lib/impact
rm "../impact"
finished rm
"base" files...
impactplusplus...
    downloading from https://github.com/collinhover/impactplusplus.git
    copying sample "supercollider"
   create package.json
   create bower.json
   create readme.md
   create Gruntfile.js
   create .editorconfig
   create .jshintrc
...

Thanks again, and sorry for the slow progress.

from generator-impactplusplus.

itsOgden avatar itsOgden commented on July 3, 2024

@racingcow, it worked! Dunno what you changed, but it all worked for me this time.

? What would you like to call your game? gutsy
? Enter a description for your game: You should play this game
? What is your github user name? someuser
? Impactjs location? (or license key to download) ****-****-****-****
? Start with which sample? blank
impactjs...
   invoke   impactplusplus:update-impactjs
    downloading from http://impactjs.com
src = "../impact"
destinationRoot = "/Users/Pdog1/dev/gutsy"
dest = "/Users/Pdog1/dev/gutsy/lib/impact"
dest exists. Deleting...
dest deleted
creating dest
checking if "../impact/lib/impact" exists.
exists = true
adjSrc = ../impact/lib/impact
rm "../impact"
finished rm
"base" files...
impactplusplus...
    downloading from https://github.com/collinhover/impactplusplus.git
   create package.json
   create bower.json
   create readme.md
   create Gruntfile.js
   create .editorconfig
   create .jshintrc

Thanks so much for your help and for making this, you're awesome!

from generator-impactplusplus.

BrandonClapp avatar BrandonClapp commented on July 3, 2024

@racingcow I received the same error.

? What would you like to call your game? Age of Crusade
? Enter a description for your game: Multiplayer browser based building and capture game.
? What is your github user name? BrandonClapp
? Impactjs location? (or license key to download) 1234
? Start with which sample? blank
impactjs...
invoke impactplusplus:update-impactjs
events.js:77
throw Error('Uncaught, unspecified "error" event.');
^
Error: Uncaught, unspecified "error" event.
at Error (native)
at emit (events.js:77:13)
at done (/Users/brandon/Documents/Git/scaffold-test/node_modules/generator-impactplusplus/node_modules/yeoman-generator/lib/base.js:318:16)
at /Users/brandon/Documents/Git/scaffold-test/node_modules/generator-impactplusplus/update-impactjs/index.js:67:17
at cb (/Users/brandon/Documents/Git/scaffold-test/node_modules/generator-impactplusplus/node_modules/ncp/lib/ncp.js:224:23)
at onError (/Users/brandon/Documents/Git/scaffold-test/node_modules/generator-impactplusplus/node_modules/ncp/lib/ncp.js:216:12)
at /Users/brandon/Documents/Git/scaffold-test/node_modules/generator-impactplusplus/node_modules/ncp/lib/ncp.js:65:16
at FSReqWrap.oncomplete (fs.js:72:15)
Brandons-MBP:scaffold-test brandon$

Upon receiving the error, I find that there is a lib\impact folder containing no files. Running the yo impactplusplus or sudo yo impactplusplus commands subsequent times yields the same result.

from generator-impactplusplus.

racingcow avatar racingcow commented on July 3, 2024

@BrandonClapp ,

This will be the slowest response in history, but I just now saw this... Did you happen to remember if you used a valid ImpactJS key with the generator.

from generator-impactplusplus.

Related Issues (3)

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.