Comments (7)
Once you run the command, if you look at the Output
tab and select Laravel Artisan
from the drop down menu, you will see all the output including errors. You may also be able to look at the developer console and possibly see output there as well.
from vscode-laravel-artisan.
My bad, I didn't know about the drop down menu for the output.
This is what I have:
[CMD] php "/Users/guill/Development/hq.sleeplessmind.com.mo/artisan" dusk --without-tty
[ERROR] Could not open input file: vendor/phpunit/phpunit/phpunit
The path to phpunit is set in DuskCommand.php
protected function binary()
{
return [PHP_BINARY, 'vendor/phpunit/phpunit/phpunit'];
}
This is where the problem is coming from. Running dusk out of the root doesn't work, which is why the dusk command from your extension doesn't work. Any work we can do on that?
from vscode-laravel-artisan.
The reason it is run from the root, is because commands don't get executed from the root of the project, so the command php artisan xxx
fails saying:
Could not open input file: artisan
I could try prefixing the command to go to the project root before running the command.
from vscode-laravel-artisan.
Here is a packaged version. Could you please test and see if it fixes your issue:
laravel-artisan-0.0.17.vsix.zip
from vscode-laravel-artisan.
Thanks!
Doesn't seem to work. The first time I run Artisan: run command
I have vscode telling me that it cannot run the artisan.run.command
command. Then on the next calls, nothing happens. Output and debug console are empty, no task related to laravel artisan.
from vscode-laravel-artisan.
I have pushed some changes to the marketplace, it could have fixed this issue. Please let me know.
from vscode-laravel-artisan.
Closing due to inactivity.
from vscode-laravel-artisan.
Related Issues (20)
- getting error after update HOT 8
- Display Panel always shows "Loading Route Information..." HOT 6
- Publish the extension to Open VSX HOT 1
- Docker commands executed but not taking effect HOT 1
- command failed HOT 1
- Can you add livewire support?
- Extension issue
- Markdown with "Make Mail" HOT 3
- Extension issue
- Extension issue
- Extension issue
- Add the license for your code and publish to open-vsx.org HOT 2
- why this plugin isn't working? HOT 1
- Missing Make component HOT 3
- Add sail compatibility HOT 3
- Suppoprt the new Laravel 9 artisan route:list command HOT 1
- Error command 'artisan.make.middleware' not found HOT 2
- Can you add datatable support HOT 2
- Artisan make:whatever in folder
- Empty output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-laravel-artisan.