Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work on MAC #4

Open
DeanJain opened this issue Aug 13, 2016 · 1 comment
Open

does not work on MAC #4

DeanJain opened this issue Aug 13, 2016 · 1 comment

Comments

@DeanJain
Copy link

➜ Casper-master ./bin/casperc -nooutput -stdout -w 10000 WordCount.java
/Users/Big Data/Casper-master/WordCount.java:7:
Could not find type "List".
countWords(List words, Map<String, Integer> counts) {
^--^

Another issue is the run.sh script says nodejs not found even when its there:

➜ bin ./check.sh
checking for java... /usr/bin/java
FOUND!
checking for nodejs... MISSING!
checking for dafny... /Users/Big Data/Casper-master/dafny/dafny
FOUND!
checking for sketch... /Users/Big Data/Casper-master/sketch-1.6.7/sketch-frontend/sketch
FOUND!
checking for ant... /usr/local/bin/ant
FOUND!

➜ bin nodejs --version
v6.3.1

➜ bin

@maaz139
Copy link
Collaborator

maaz139 commented Aug 18, 2016

Hi SwadhinJain,

Thank you for reporting these issues.

As for the first problem: I am not able to reproduce the error. Could you provide me more details about your setup?

As for the second issue, good catch! Creating a symlink from "node" to "nodejs" should satisfy the check script:
$ ln -s /usr/local/bin/node /usr/local/bin/nodejs

Just FYI: We also just put up a Docker image with everything installed and configured to make trying out Casper easier (instructions can be found in the readme file). Please let me know if I can help you with anything else.

Best,
Maaz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants