Experience-Monks / nyg

Not another yeoman generator, a simplified project generator based around prompts and events.
MIT License
12 stars 2 forks source link

"npm test" fails after "run npm install?" prompt #11

Closed BrendanNeufeld closed 8 years ago

BrendanNeufeld commented 8 years ago
brendan@Brendans-MacBook-Pro-2:~/Documents/Modules/nyg (master)$ npm test

> nyg@2.0.2 test /Users/brendan/Documents/Modules/nyg
> node test/

preprompt
? What is the project name? (nyg-*) nyg-ui-generator
? What option? Option 1
? run npm install? Yes
postprompt
precopy
postcopy
/Users/brendan/Documents/Modules/nyg/test/index.js:56
            done();
            ^

TypeError: done is not a function
    at WriteStream.<anonymous> (/Users/brendan/Documents/Modules/nyg/test/index.js:56:13)
    at emitNone (events.js:72:20)
    at WriteStream.emit (events.js:166:7)
    at finishMaybe (_stream_writable.js:468:14)
    at afterWrite (_stream_writable.js:347:3)
    at onwrite (_stream_writable.js:337:7)
    at WritableState.onwrite (_stream_writable.js:89:5)
    at fs.js:1867:5
    at FSReqWrap.wrapper [as oncomplete] (fs.js:619:5)
npm ERR! Test failed.  See above for more details.