intellij-lessc-plugin icon indicating copy to clipboard operation
intellij-lessc-plugin copied to clipboard

Nothing happens when saving (PHPStorm 5.0.4, Mac 10.8.2) and wrong error message

Open mploigt opened this issue 12 years ago • 17 comments

I have configured The PlugIn as shown in the screenshots. I do not have a setting "LESS Compiler" in Project Settings, only "LESS Profiles" but the content is the same.

When I'm saving a file, nothing happens, not even an error message shows up.

When I'm manually selecting "Compile to CSS" on the file or folder, I get the error message "The selected LESS file does not have any CSS output directories mapped to it and cannot be compiled. You can add CSS output directories under Settings > Project Settings > LESS Compiler."

But I already did that (see attached screenshots). But the setting is still called "LESS Profiles" instead of "LESS Compiler".

Can you please help me to figure out what is going wrong here?

Thanks Maik

preferences files errormessage

mploigt avatar Feb 01 '13 14:02 mploigt

I also have this problem(Idea12 ),but when I try many times ,the error dialog window isn't show. I want get css, but I can't find it.It show event log "LESS CSS Compiler: a.less was modified, but didn't change any CSS files (ignore)"

javy-liu avatar Feb 16 '13 01:02 javy-liu

I have the exact same problem with PhpStorm 6.0 on Windows 7

holloway87 avatar Mar 25 '13 13:03 holloway87

@excalibur and @holloway87, a few questions for you:

  1. What OS version, national language, and architecture are you using? (e.g., Windows XP 32-bit English, Windows 7 64-bit German, Mac OS X 10.7.5 Finnish, Ubuntu 12.04 64-bit Spanish)
  2. Do you have IntelliJ/PhpStorm set up to use a locale other than English?

Could you also please send me a clean copy of your IDE log file? Follow these steps:

  1. Exit your IDE completely
  2. Locate the log file for your IDE
  3. Make a backup copy (e.g., rename idea.log to idea.log.bak)
  4. Clear the log file by either renaming it, deleting it, or opening it in a text editor, deleting all text, and saving it
  5. Launch your IDE and follow the steps you described to reproduce the problem
  6. Create a new Gist and copy/paste the contents of the log file into it
  7. Send me a link to the Gist you just created so I can (hopefully) see what's going on

Thank you!

P.S. Thanks for taking the time to submit such a detailed bug report and even attach screenshots! I wish more users did that :-)

acdvorak avatar Apr 23 '13 12:04 acdvorak

Has this been resolved? I've got the same problem on fedora 16 64bit. idea.log doesn't show anything suspicious.

fnordian avatar Oct 24 '13 06:10 fnordian

Having same problem. OpenSuse 12.3 64bit, IDEA 12.1.6.

parviain avatar Nov 29 '13 14:11 parviain

Try updating to the latest version of the plugin (2.6.8) and see if that solves the issue. I had to rewrite a lot of the settings persistence logic in 051d997e800fdea85f639f731ad7eb462b4235fe; hopefully I can kill 4 birds with one stone.

acdvorak avatar Jan 08 '14 07:01 acdvorak

Well this problem fixed itself after i upgraded to PhpStorm 7, sorry for not letting you know earlier. But i have a new problem now with PhpStorm 7.1 as i wrote in #67.

holloway87 avatar Jan 10 '14 13:01 holloway87

Updated the plugin to version 2.6.9, still same problem: "Missing CSS Output Directory" Tried different source and output directory combinations, even plain simple project with only one less file: no luck.

OpenSuse 12.3 64bit, IDEA 12.1.6.

parviain avatar Jan 10 '14 15:01 parviain

@parviain: Do you have any other profiles configured for that project that are missing a CSS output directory? If possible, attach a screenshot of your "LESS Profiles" config in the IDE's Project Settings dialog and the contents of <project_dir>/.idea/lessc/lessc.xml.

acdvorak avatar Jan 11 '14 03:01 acdvorak

For me, this is working now in PHPStorm 7.0 on OS X 10.9.1, english, 64bit. The LESS CSS Compiler Plugin is version 2.6.9.

mploigt avatar Jan 11 '14 07:01 mploigt

I've only one profile, although tested also with several profiles with and without many output directories.

Screenshot - LESS Profiles: Uploading less_plugin_settings.png . . .

Screenshot of my test project: Uploading idea_project.png . . .

parviain avatar Jan 11 '14 07:01 parviain

I've only one profile, although I tested with several profiles with and without many output directories.

Screenshot of LESS Plugin settings: less_plugin_settings

Screenshot of my project: idea_project

parviain avatar Jan 11 '14 07:01 parviain

i have this problem too

quberok avatar Nov 06 '14 09:11 quberok

Have anyone fix this issue? I'm having this issue now that I upgraded to the latest version of PhpStorm 8.0.2 Build #PS-139.72. :( Is there a way to downgrade? It was just working fine lastweek.

I have this in the log:

2015-01-23 20:23:58,173 [ 102176] ERROR - penapi.actionSystem.impl.Utils - PhpStorm 8.0.2 Build #PS-139.732 2015-01-23 20:23:58,173 [ 102176] ERROR - penapi.actionSystem.impl.Utils - JDK: 1.6.0_65 2015-01-23 20:23:58,174 [ 102177] ERROR - penapi.actionSystem.impl.Utils - VM: Java HotSpot(TM) 64-Bit Server VM 2015-01-23 20:23:58,174 [ 102177] ERROR - penapi.actionSystem.impl.Utils - Vendor: Apple Inc. 2015-01-23 20:23:58,174 [ 102177] ERROR - penapi.actionSystem.impl.Utils - OS: Mac OS X 2015-01-23 20:23:58,174 [ 102177] ERROR - penapi.actionSystem.impl.Utils - Last Action:
2015-01-23 20:24:10,007 [ 114010] ERROR - penapi.actionSystem.impl.Utils - update failed for AnAction with ID=FinderInfo java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys

frogydiak avatar Jan 24 '15 04:01 frogydiak

I have the same problem on mac.... I thought Im was being stupid... but clearly not :-(

tonypartridge avatar Feb 09 '15 13:02 tonypartridge

Same problem on Mac using PyCharm.

jacobg avatar Jul 30 '15 22:07 jacobg

same issue here (phpstorm 2017.2, last version of plugin)

Dechorgnat avatar Aug 17 '17 13:08 Dechorgnat