gnarula / sublime-laravelgenerator

A Sublime Text Plugin which allows using Laravel 4 Generators by Jeffrey Way via the command palette.
165 stars 41 forks source link

windows path setting, Oh snap! failed error #7

Open ghost opened 11 years ago

ghost commented 11 years ago

I'm on windows 7 but php is in my path. Using the full path to the executable or to the php directory does not seem to work. Nothing happens and no error message.

However when I use just 'php' for the php_path setting it seems to be the right path because it makes an attempt. Unfortunately I get the following error.

Oh snap! php C:\Users\lotus\projects\l4/artisan generate:resource dog --fields="name:string" failed

This exact command actually works when ran in the command line.

GRAgmLauncher commented 10 years ago

I also get a similar error. php is in the path and I can execute php artisan generate:resource ... in command line, but not through sublime text. I think the problem is that the newer versions of Way's generators are asking you if you want to create various elements of the resource.