I get this pop-up every time I save a .php file in sublime text 3. I have reinstalled sublime and uninstalled unused packages. What to do?
Error message: /bin/sh: php: command not found
Build 4143
Related
When running the formatter using alt+shift+f the following notice is shown:
However the go extension is installed:
The Go extensions runtime status shows an error, but I can't find this error file path
Uncaught Errors (1)
Unexpected token [ in JSON at position 195
I have tried:
Reinstalling go extensions, no resolve.
Reinstalling vscode and extensions, but no resolve.
On latest Sublime Text 3 I get an error from Sublime Slim package everytime I launch ST3.
In the console I see this error.
unable to parse firstLineMatch "^#!/.*\b(node|js)$$?":target of repeat operator is invalid in regex ^#!/.*\b(node|js)$$?
warning: mnemonic t not found in menu caption Tools
reloading settings Packages/User/Preferences.sublime-settings
unable to parse firstLineMatch "^#!/.*\b(node|js)$$?":target of repeat operator is invalid in regex ^#!/.*\b(node|js)$$?
I tried reinstalling the package but it didn't help.
Is there a fix for that?
i've installed BeautifyRuby in my Sublime Text 2 (running OS X Yosemite 10.10), but is not working, I receive this message when I try to cmd + ctrl + k:
Error: invalid output. Check your ruby interpreter settings
I've changed, as suggested https://github.com/CraigWilliams/BeautifyRuby , the sublime-settings file with:
"ruby": "/Users/alessiogastaldo/.rbenv/bin/ruby"
and also using the specific version:
"ruby": "/Users/alessiogastaldo/.rbenv/versions/1.8.7-p371/bin/ruby"
but with no success.
I've read the different solutions proposed (like https://github.com/CraigWilliams/BeautifyRuby/issues/52) but nothing works.
Anyone do know how to solve this?
I had the same problem too.
I solved with this:
In terminal, run the command: which ruby.
Copy the result. In my case was: "/home/user/.rbenv/shims/ruby"
Open your package settings. In my case: Preferences > Package Settings > BeautyfyRuby > Settings Default.
Add this line in the file: "ruby": "/home/user/.rbenv/shims/ruby",
You will need to install the htmlbeautifier gem.
Run the commmand in terminal: gem install htmlbeautifier
It works for me.
This is the error:
sys/cdefs.h' file not found
what i've done is just follow the offical steps,the" gclient sync --force" prompt the following errors:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_fake_stack.cc:14:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_allocator.h:19:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_interceptors.h:18:
/Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/interception/interception.h:90:10: fatal error: 'sys/cdefs.h' file not found
=====
what the problem?
On Mavericks? Try typing "xcode-select --install" to pop up the dialog to install the Xcode command-line tools. That should give you a /usr/include directory and then building LLVM should work.
Ref: http://clang-developers.42468.n3.nabble.com/Naive-Mavericks-Trunk-Build-Errors-td4035480.html
I'm trying to install lein in my new macbook (osx 10.8.2) following the tutorial on https://github.com/technomancy/leiningen
When executing the lein script, I'm getting this error:
/bin/lein: line 1: {rtf1ansiansicpg1252cocoartf1187cocoasubrtf340: command not found
/bin/lein: line 2: syntax error near unexpected token }'
/bin/lein: line 2:{\fonttbl\f0\fmodern\fcharset0 Courier;}'
The script I'm using is this one
https://raw.github.com/technomancy/leiningen/preview/bin/lein
The {rtf1 ... comes from an rtf document.
I suppose you haven't copy/pasted the script from the web into a document using TextEdit?
That program defaults to rtf, which could cause this problem.
You should try pasting in a 'decent' text editor. Try your IDE, or Vim or nano or something like that.