Open mmccoy opened 8 years ago
I have also gone back several version and am still seeing this issue. Same as mine in #42
@mmccoy I have found a workaround for this issue. It is occurring because the new version of meteor creates a directory and naming structure with the meteor create
command which it is not looking for.
To correct the issue I followed the directions in the CONTRIBUTING.md file to create a local developer linked version of the generator. Then I corrected line 199 in src/app/index.coffee to be
createMeteorProject: ->
cb = @async()
genUtils.spawnSync 'meteor', [
'--release'
'1.2'
'create'
@appname
], cb
This resolved the issue for me. @ndxbxrme this could be of assistance to you. You probably don't want to just move it back a hard release so I wont do a pull-request unless this is what you're looking for.
Let me know if this helps.
hey guys sorry i haven't been around
i can fix the ENOENT issue but that unleashes a whole slew of new errors
i'm going to implement the fix suggested by @austin94 until i can make the generator meteor1.3 compatible
try the new version (v0.20.7)
@ndxbxrme Thank you for the update. This is a great tool and this issue is in every other tool currently including the iron-router CLI.
Thanks for the fast reply.
Got a similar issue:
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn meteor ENOENT
at exports._errnoException (util.js:1012:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)