Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined when run orion generate view/model/ or whatever #83

Closed
Danjavia opened this issue Apr 5, 2015 · 5 comments · Fixed by matteodem/orion-cli#19
Closed

undefined when run orion generate view/model/ or whatever #83

Danjavia opened this issue Apr 5, 2015 · 5 comments · Fixed by matteodem/orion-cli#19
Labels

Comments

@Danjavia
Copy link

Danjavia commented Apr 5, 2015

No description provided.

@matteodem
Copy link
Owner

Need OS and errors + node version

@Danjavia
Copy link
Author

Danjavia commented Apr 5, 2015

Windows 8 the error is in the path APP_NAME/undefined/build/view/build.js

@matteodem matteodem added the bug label Apr 12, 2015
@SlashmanX
Copy link

Caused by matteodem/orion-cli#13. I've provided a quick fix in there

@Danjavia
Copy link
Author

Thanks for answer

@hpema
Copy link

hpema commented Jul 6, 2015

Hi,

Im a nood regarding meteor so please excuse me.

Im getting this error still when creating models:

C:\Data\DevProjects\meteor\orionTest>orion generate model
orion | What's your model called (Mongo.Collection)? | test
fs.js:565
fs.write = function(fd, buffer, offset, length, position, callback) {
^
Error: ENOENT, no such file or directory 'C:\Data\DevProjects\meteor\orionTest\u
ndefined\private\templates\js\model.js'
at Error (native)
at Object.fs.openSync (fs.js:500:18)
at Object.fs.readFileSync (fs.js:352:15)
at C:\Users\Hemant.NTDOMAIN\AppData\Roaming\npm\node_modules\orion-cli\lib\f
ileManager.js:20:32
at Array.forEach (native)
at Object.FileManager.generateTemplates (C:\Users\Hemant.NTDOMAIN\AppData\Ro
aming\npm\node_modules\orion-cli\lib\fileManager.js:19:16)
at C:\Users\Hemant.NTDOMAIN\AppData\Roaming\npm\node_modules\orion-cli\comma
nds\generate.js:88:29
at C:\Users\Hemant.NTDOMAIN\AppData\Roaming\npm\node_modules\orion-cli\node_
modules\prompt\lib\prompt.js:316:32
at C:\Users\Hemant.NTDOMAIN\AppData\Roaming\npm\node_modules\orion-cli\node_
modules\prompt\node_modules\utile\node_modules\async\lib\async.js:142:25
at assembler (C:\Users\Hemant.NTDOMAIN\AppData\Roaming\npm\node_modules\orio

n-cli\node_modules\prompt\lib\prompt.js:313:9)

OS: Windows 8.1

awaiting your feedback...Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants