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 was archived by the owner on Apr 14, 2026. It is now read-only.
> var swipl = require('node-prolog-swi');
Error: Cannot find module 'libswipl'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/jan/Projects/jwar/server/node_modules/node-prolog-swi/swipl.js:24:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
I'm not exactly sure why this happens.
I've had a small trouble installing it where it wasn't enough to set SWI_HOME_LIB, I had to link the libswipl.dylib to /usr/local/lib in the end.
I've tried setting DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to many different things, with no success.
http://showterm.io/91ba3e0062b797c0bcaa6
I'm not exactly sure why this happens.
I've had a small trouble installing it where it wasn't enough to set SWI_HOME_LIB, I had to link the libswipl.dylib to /usr/local/lib in the end.
I've tried setting DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to many different things, with no success.