Comments (12)
@mabasic can you paste the output of the ST console, the trace log would be very helpful ?
from composer-sublime.
Hi,
this is the output I get:
-- COMPOSER --
executing: ./composer.phar validate -n -v
'.' is not recognized as an internal or external command,
operable program or batch file.
-- Terminated --
And this is my user package preference:
{
"composer_command": "C:/ProgramData/ComposerSetup/bin/composer.phar",
}
from composer-sublime.
Please go to "view -> show console", you should have more information there
On 22/05/14 14:51, Mario Basic wrote:
Hi,
this is the output I get:
|
|executing: ./composer.phar validate -n -v
'.' is not recognized as an internal or external command,operable program or batch file.
-- Terminated --
|And this is my user package preference:
|{
"composer_command": "C:/ProgramData/ComposerSetup/bin/composer.phar",
}
|—
Reply to this email directly or view it on GitHub
#8 (comment).
from composer-sublime.
It's almost the same output:
-- COMPOSER --
creating output panel
['./composer.phar', 'validate', '-n', '-v']
Skipping status bar messages
['./composer.phar', 'validate', '-n', '-v']
writting data
executing: ./composer.phar validate -n -v
process created
writting data
'.' is not recognized as an internal or external command,
operable program or batch file.
writting data
-- Terminated --
from composer-sublime.
Any help? Am i doing something wrong?
from composer-sublime.
@mabasic - use:
"composer_command": "composer"
As long as you have used the composer windows installer and composer is on your %PATH% then you should be golden :)
I also had to remove and re-install the plugin to get it to use my composer-sublime.sublime-settings
from composer-sublime.
Ok, I have followed your advice and now I get this:
-- COMPOSER --
creating output panel
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 549, in run_
return self.run(edit)
File "composer_st3 in C:\Users\Mario\AppData\Roaming\Sublime Text 3\Installed Packages\Composer.sublime-package", line 122, in run
File "composer_st3 in C:\Users\Mario\AppData\Roaming\Sublime Text 3\Installed Packages\Composer.sublime-package", line 72, in go
File "composer_st3 in C:\Users\Mario\AppData\Roaming\Sublime Text 3\Installed Packages\Composer.sublime-package", line 47, in prepareCommandList
TypeError: object of type 'NoneType' has no len()
Any idea?
from composer-sublime.
Have you used the Windows Composer installer? You'll need composer on your Windows path in order to load it this way.
from composer-sublime.
Yes, I have installed it using a Composer installer and it is in Windows path. I can use it on command line.
from composer-sublime.
My composer-sublime.sublime-settings:
{
// show debug messages?
"show_debug": false,
// Show messages / progress in status bar?
"show_status": true,
// shows the output of composer ?
// if you disable it you get no information about composer progress (or even errors)
"show_output": true,
/*
* Path to composer binary.
* A relative path is relative to the composer.json file
*/
"composer_command": "composer",
// Extra arguments for composer install command
"composer_install_extra" : ["-n", "-v"],
// Extra arguments for composer update command
"composer_update_extra" : ["-n", "-v"],
// Extra arguments for composer self-update command
"composer_selfupdate_extra" : ["-n", "-v"],
// Extra arguments for composer dump-autoload command
"composer_validate_extra" : ["-n", "-v"],
// Extra arguments for composer require command
"composer_require_extra" : ["-n", "-v"],
// Extra arguments for composer dump-autoload command
"composer_dumpautoload_extra" : ["-n", "-v"]
}
Try adding these and reinstall the plugin - I basically copied the entire default settings file and then modified "composer_command". If this doesn't work I'm not sure what will!
from composer-sublime.
Yeah, I don't know what to say. I just started sublime and run composer self update command and it worked. I changed nothing from the last time. Let's just close this issue :)
from composer-sublime.
Just like he mentioned! he probably didn't restart sublime after changing the setting
from composer-sublime.
Related Issues (11)
- Add dump-autoload HOT 2
- User defined setting not overridding default settings HOT 2
- Composer & PHP aliasing and Mcrypt errors HOT 3
- Dump-autoload not working in SublimeText3
- Open composer.phar
- Composer fails to find php extensions when executed through ST2 HOT 9
- Sublime Text 3 HOT 7
- Package Control installation does not work with ST3 HOT 1
- composer commands via standard OS CLI? HOT 5
- Composer from global installation. HOT 1
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 composer-sublime.