Issues with CLI installation on windows 7 #1076
Replies: 2 comments 3 replies
-
@firstmiddlelast welcome to the world of never ending changes. We (JSCAD) test and support the latest versions of NODEJS and NPM. Sorry. having said that, there were working versions of JSCAD that used those versions of NODEJS and NPM. And there was a know issue on Windows which prevented the installation, but there was a work around. Have you tried any old versions? You will have to edit package.json, and change the versions of 'dependencies', and 'dev-dependencies' |
Beta Was this translation helpful? Give feedback.
-
Oh, you mean old versions of JSCAD? I can try that. Any suggestion on which version I should try? |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm stuck with windows 7, so my Node.Js version is 13.6.0 (don't tell me to upgrade please) ; I have npm 6.13.4, and the
npm i @jscad/cli
command ends correctly, but with the message :But when I run
jscad
, this happens :..obviously, the
3mf-serializer\src\index.js
line :const zipSync = require('fflate').zipSync
can't load the fflate library.
I have tried installing fflate separately, copy/pasting the fflate directory into the node_modules.. nothing changes : fflate can't be loaded.
Does anyone have any idea what could be done? Downgrade npm or fflate to a previous version? Some dirty hack would be ok, too, or even better, using another javascript engine than node.js (but my hopes on this are low :).
Oh, and as for my use case : I would like to use the CLI as an external modeling / generative tool, with such workflows as :
Beta Was this translation helpful? Give feedback.
All reactions