meteor-io
meteor-io copied to clipboard
ENOENT: config.json' on Windows
Node.js latest stable 5.0.0
First we need to set up an io directory.
Specify a directory where you would like to store your generators, templates, an
d config.
Directory: ./
Created dir: io
Created dir: io\templates
Created dir: io\generators
Created dir: io\.io
{ [Error: ENOENT: no such file or directory, stat 'D:\AppData\Roaming\npm\node_m
odules\meteor-io\bin\lib\templates\templates\config.json']
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'D:\\AppData\\Roaming\\npm\\node_modules\\meteor-io\\bin\\lib\\templates
\\templates\\config.json' }
Let me know if you need anything doing to figure this out :D
Hey @rfox90, does that directory already exist? io expects you to pass it an existing directory. I know it's kind of confusing and I'll get that fixed on the next release,
https://github.com/scottmcpherson/meteor-io/issues/8
I specified ./ so the target directory exists yes.
Contents of the folder path its looking for are weird though
http://i.ahref.co.uk/u/r/KA0j.png
Ok, thanks @rfox90. I looks like it can't find the config file for some reason. Does this file exist? \node_m odules\meteor-io\bin\lib\templates\templates\config.json
as indicated in my prior response: D:\AppData\Roaming\npm\node_modules\meteor-io\bin\
which its looking in. is pictured above.