After creating a new project in the JetBrains WebStorm IDE, I ran into an error with the SCSS file watcher. It says: ERROR: invalid executable, but I don't know what causes that error in the first place.
The scss file is nothing special at all, nevertheless the error pops up. Please help me understand what causes that error.
Make sure to specify a valid path to SASS compiler in your file watcher settings, Program field.
See https://www.jetbrains.com/help/webstorm/2020.2/transpiling-sass-less-and-scss-to-css.html#install_sass_scss, https://www.jetbrains.com/help/webstorm/2020.2/transpiling-sass-less-and-scss-to-css.html#create_file_watcher
Related
I am trying to work with SCSS and compile it as CSS in WebStorm, so I set a file watcher for that but unfortunate I got this error:
Failed to run File Watcher 'SCSS'.
The watcher has been disabled.
Error: Invalid executable
So I google it and I found out that there as some steps that needs to be done first like in this link but I can't find this path :
In the Program field, specify the path to the compiler archive depending on the chosen predefined template.
lessc for Less.
sass for Sass/SCSS.
If you followed the standard installation procedure with npm, JetBrains Rider locates the required files itself and fills in the field automatically. Otherwise, type the path manually or click the Browse button and choose the file location in the dialog that opens.
I don't know if this even would solve my problem or not.
I've a project that I didn't write and am making modifications to it, but am getting Error 53, File Not Found.
If I run the project from within Visual Basic, there is no error, but when I compile the executable and run that, is when I see error 53.
Can someone tell me the best way to go about troubleshooting this? If the error was happening inside Visual Basic, then I could use debugging tools, but it's only occurring with the compiled executable, and I have no idea what file cannot be found.
I just went through the entire form (where I believe this error is happening) and added the application path to every Open command where a file is being called, but still receive error 53 when running the compiled executable.
EDIT:
I was able to locate the file that can't be found. I can see the file is in the project directory, but cannot be found after the executable is built. Is there a special way of opening, or referring to this file?
The offending line:
Open "default.txt" For Input as #1
What ended up working for me was to preface the file with App.Path.
My issue was that I had re-named my project directory, but my code did not reflect that change:
App.Path & "\DirIForgotToIncludeHere\default.txt" For Input As #1
I downloaded files from a separate Stack OverFlow post, and dragged the folder into my project (as a group.) The dependancies get resolved and it shows no error for code that relies on the files, but when I try to compile I get this error:
<unknown>:0: error: unexpected input file: /.../xyz.Swift
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
It might be nothing, but the files themselves in the project navigator show up as blank icons (while my project's other file have the swift red spalsh icon) despite checking in as swift files in the attribute inspector.
I've fumbled a few times with adding and deleting multiple sets of files, I checked the local dir and nothing seem out of order... is there something else that might be messing this up?
Thanks for suggestions!
Solved - The issue was with the filename extension:
xyz .Swift will not properly link. It will be processed by xcode and solve code issues expecting it, but the linker will hiccup.
renamed files to xyz .swift -> problem solved.
In my case it was after removing a compiler flag in a way it didn't like. Try to figure out what you changed in your compiler settings before it started acting weird. Sometimes because Xcode caches compiled code the problem doesn't immediately start after doing the change!
I haven't seen that precise error before, but don't add files through Finder. Start over, and this time use 'New' -> 'File...' from the Xcode 'File' menu. It has to update its internal manifests to track all project files; you don't want to subvert this process.
After that you may still need to do a 'Clean' before re-building, and perhaps remove all of the DerivedData as well while Xcode is not running:
How can I safely delete in my ~/Library/Developer/Xcode/DerivedData directory?
configmanager.cpp:39:44: error: wx/mac/corefoundation/cfstring.h: No such file or directory
The compilator can't find the cfstring.h file. Try reinstall codeblocks.
It happens because you are creating the file in documents or other folder.
Create the file in your Desktop and while giving it a name don't include space in it, click build and run, the terminal will open with the output. It worked for me at least, then you can move it to your desired folder.
I am running into this issue, which, although not a show-stopper is becoming increasingly annoying.
I have a project where a rebuild or a build after some changes will result in the C1083 error:
fatal error C1083: Cannot open include file: 'Filename.h' no such file or directory
If I build again, the issue goes away! (I have checked the include directories, they are good). A rebuild always fails with this error and must be followed by a normal build to fix the issue.
Has anybody run into this issue? Any guesses as to what may be the cause of the problem?