You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
After installing the program, every time I run ANY code the following is printed on my editor "Coderunner" followed by the answer.
bash: /Users/1997SUPRAMAN/.bash_profile: line 14: unexpected EOF while looking for matching `"'
bash: /Users/1997SUPRAMAN/.bash_profile: line 15: syntax error: unexpected end of file
The code is correct as it ran fine before installing. Here is an example, I type my code;
var multi_dim_sum = function(arr){
var sum=0;
for (var i=0;i<arr.length;i++){
if (arr[i] instanceof Array){
sum += multi_dim_sum(arr[i]);
}
else{
sum+= arr[i];
}
}
return sum;
}
multi_dim_sum([1,[2,[3, 4]], [5, 6]])
"these two lines always print before the answer"
bash: /Users/1997SUPRAMAN/.bash_profile: line 14: unexpected EOF while looking for matching `"'
bash: /Users/1997SUPRAMAN/.bash_profile: line 15: syntax error: unexpected end of file
21
The text was updated successfully, but these errors were encountered:
If you got a warning from Homebrew about your path, do the following:
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
After installing the program, every time I run ANY code the following is printed on my editor "Coderunner" followed by the answer.
bash: /Users/1997SUPRAMAN/.bash_profile: line 14: unexpected EOF while looking for matching `"'
bash: /Users/1997SUPRAMAN/.bash_profile: line 15: syntax error: unexpected end of file
The code is correct as it ran fine before installing. Here is an example, I type my code;
var multi_dim_sum = function(arr){
var sum=0;
for (var i=0;i<arr.length;i++){
if (arr[i] instanceof Array){
sum += multi_dim_sum(arr[i]);
}
else{
sum+= arr[i];
}
}
return sum;
}
multi_dim_sum([1,[2,[3, 4]], [5, 6]])
"these two lines always print before the answer"
bash: /Users/1997SUPRAMAN/.bash_profile: line 14: unexpected EOF while looking for matching `"'
bash: /Users/1997SUPRAMAN/.bash_profile: line 15: syntax error: unexpected end of file
21
The text was updated successfully, but these errors were encountered: