Code Monkey home page Code Monkey logo

Comments (12)

francodacosta avatar francodacosta commented on July 23, 2024

@mabasic can you paste the output of the ST console, the trace log would be very helpful ?

from composer-sublime.

mabasic avatar mabasic commented on July 23, 2024

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.

francodacosta avatar francodacosta commented on July 23, 2024

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.

mabasic avatar mabasic commented on July 23, 2024

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.

mabasic avatar mabasic commented on July 23, 2024

Any help? Am i doing something wrong?

from composer-sublime.

wdmtech avatar wdmtech commented on July 23, 2024

@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.

mabasic avatar mabasic commented on July 23, 2024

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.

wdmtech avatar wdmtech commented on July 23, 2024

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.

mabasic avatar mabasic commented on July 23, 2024

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.

wdmtech avatar wdmtech commented on July 23, 2024

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.

mabasic avatar mabasic commented on July 23, 2024

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.

kiwina avatar kiwina commented on July 23, 2024

Just like he mentioned! he probably didn't restart sublime after changing the setting

from composer-sublime.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.