MiniZinc / minizinc-js

Use MiniZinc in the browser or with NodeJS
https://js.minizinc.dev
Mozilla Public License 2.0
31 stars 8 forks source link

message: 'Error: no model file given.', type: 'exit', code: 1 #31

Closed NKJay closed 7 months ago

NKJay commented 7 months ago

Hi, I found this issue when I using 4.3.1 version of this lib. And I tried to add some log in the compressed code 'minizinc-node.mjs'. I found the file name isn't added to _toRun list correctly. image

I also tried to copy 'node.js' file to my local environment and replaced packaged lib. With the same code. It works good. Seems like there might be wrong somewhere. Perhaps needto release a new version?

cyderize commented 7 months ago

Thanks, I just published a new version, could you check if it works now?

NKJay commented 7 months ago

Yes. It works now. Thanks