Comments (6)
Is your project in the OTP app format? Do you have a rebar.config file?
Also check out the sublime text console for errors.
from sublimerl.
Yes OTP with rebar.config, no errors in console.
from sublimerl.
I also encountered the same problem
from sublimerl.
Howdy, first of all, thank you for your hard work.
I have a valid and working rebar - I can type 'rebar compile' on the command line and it builds correctly.
I print stderr:
def execute_os_command(self, os_cmd, dir_type=None, block=False, log=True):
# set dir
if dir_type == 'project': os.chdir(self.project_root)
elif dir_type == 'test': os.chdir(self.test_root)
if log == True: self.log("%s$ %s\n\n" % (os.getcwd(), os_cmd))
# start proc
current_env = self.get_test_env()
p = subprocess.Popen(os_cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True, env=current_env)
if block == True:
stdout, stderr = p.communicate()
print(stderr)
return (p.returncode, stdout)
else:
stdout = []
for line in p.stdout:
self.log(line)
stdout.append(line)
return (p.returncode, ''.join(stdout))
I get:
/Users/guo/bin/rebar compile
env: escript: No such file or directory
escript is present on my system:
$ which escript
/usr/local/bin/escript
from sublimerl.
When I add /usr/local/bin/escript
to the PATH, problem solved!
from sublimerl.
Alternatively, there's a configuration file just for this:
https://github.com/ostinelli/SublimErl#configuration
from sublimerl.
Related Issues (20)
- commands not working on ubuntu HOT 3
- Auto completion not working for core erlang HOT 6
- Can I generate some gen skeletons like Emacs? HOT 3
- on MacOS the default bash profile name is '.profile' HOT 1
- need check "None" value in source file 'sublimerl_core.py' HOT 1
- AttributeError: 'NoneType' object has no attribute 'endswith' HOT 3
- Code completion doesn't work as intended HOT 4
- Auto indentation bug
- How to disable auto-compiling? HOT 2
- May I ask when will sublimerl support on windows? HOT 4
- installation
- Incorrect indentation after an arrow and after a dot. HOT 2
- Linux man pages - Command-Alt-i - libs.sublime-completions not found HOT 2
- when error:loop , the cpu and mem are go out
- EUnit Test only run once - Unicode handling
- Use specs for autocomplete
- Installation on Mac 10.9 HOT 2
- Saving erl file with Sublimerl enabled causes error HOT 11
- update to sublime text 3 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublimerl.