arthwang / vsc-prolog

A VS Code extension that provides language support for prolog
MIT License
97 stars 21 forks source link

Keep outputting spawn /usr/local/Cellar/swi-prolog/8.0.3_1 EACCES error when I am typing. #45

Open qintds opened 4 years ago

qintds commented 4 years ago

Hello, I face the problem that the prolog linter will keep outputting spawn /usr/local/Cellar/swi-prolog/8.0.3_1 EACCES error when I am typing. I tried to give read and write access for all user but it still does not work. Is there any method to fix this issue. Thank you.

Abdoronic commented 4 years ago

Hello @qintds,

I had the same problem.

It was fixed after I made the prolog.executablePath point to the executable itself.

So, in my case the path looked like this: /usr/local/Cellar/swi-prolog/HEAD-30f96eb_1/bin/swipl. Probably, your path will be as follows: /usr/local/Cellar/swi-prolog/8.0.3_1/bin/swipl.