![]() Please keep in mind that I am not a professional programmer, I am comfortable only with html/css so if I need to change something in code please be as specific as possible, thank you. Configuring File Watcher for LESS files For example, when you open for editing a LESS file, IntelliJ IDEA shows a notification banner: Click the link Add watcher. What did I miss? Maybe it is just a stupid rookie mistake but I just don't know where am I going wrong. When IntelliJ IDEA detects that you are working with a file it can 'watch,' it prompts to set up a File Watcher. I tried different projects, even the ones that worked before and I get the same error message so I am positive my. Non_object_property_loadError: Cannot read property 'splice' of undefined in PathToMyWebsite\style.less on line null, column 0: The css file is never created and I get this issue: In FileWatcher, set only style.less in Arguments, and leave style.css in Output paths to refresh Others P圜harm is a strict functional subset of IntelliJ UE the Python plugin. I tried every possible combination and restarted my computer I don't know how many times in between. I tried reinstall nodejs twice (I am using Windows 7 圆4, Webstorm 7.0.1), I tried changing less compiler to this one ( ) and this one ( ), I tried different settings for all of them (Track only root files, create output file from stdout). File Watcher was prompt automatically in Webstorm so I just clicked "add file watcher".Īfter this it looks like Webstorm is actually trying to create the css file (with every change I can see the message "Executing LESS task" at the bottom), but doesn't create it. ![]() ![]() path to C:\Users\myName\AppData\Roaming\npm is set too.For Sass ( npm install -g sass) the most simple setup is: For node-sass ( npm install -g node-sass ), it would be: Share Improve this answer Follow answered at 14:14 lena 88. less module is installed as global (I used "npm install -g less") 1 Answer Sorted by: 3 Arguments you have specified are valid neither for Sass nor for node-sass. File Watchers - IntelliJ IDEs Plugin Marketplace Build File Watchers JetBrains s.r.o.Search for Java code Search for JavaScript code IDE Plugins IntelliJ IDEA WebStorm Visual Studio Android Studio Eclipse Visual Studio Code P圜harm. Could not save project error Cannot find PHPUnit in include path error. Support loaders to preprocess files, i.e. Nodejs is installed correctly I believe, Path is set in the Enviroment variables (without the "\" at the end) Troubleshooting when File Watcher is throwing an error.I tried every possible websearch and advice during the last two days with no results. Show less Software Engineer ATMECS Technology Mar 2020 - Aug 2021 1 year 6. `node run dev` actually compiles the sass, yay, I'm just not sure if I'm understanding what I'm looking at, or if I should run the suggested command at this point.I have an issue with LESS File watcher in Webstorm, doesn't want to compile into CSS. That's fine, but I'm afraid it'll screw up my experience with the tutorial (the teacher is using VS Code, which I don't prefer). I read in JetBrains' docs that I need to choose the sass program to run, and that I should run a node command: I click the folder icon and it's just in the sass folder I'm in (this is in Laravel), and I'm not sure what to select. but I'm not sure why the "Program:" field value is red: I'm going through a tutorial where the teacher just pastes a bunch of Sass (?) from a pre-made file, so I paste it too and then get the "Enable File Watcher to compile SCSS to CSS?" prompt, I click Yes, then get the "New File Watcher" pop-up, and everything looks fine I guess (I'm kind of new to SCSS and have never used it in PHPStorm).
0 Comments
Leave a Reply. |