-
Notifications
You must be signed in to change notification settings - Fork 235
cannot install drizzle on macos and windows #46
Comments
This does not seem to be a problem with Drizzle directly, but with the scrypt dependency of Not sure to understand why you don't want to try with NodeJS 10. NodeJS is the LTS (Long Term Support) version of NodeJS and for most cases it's the recommended version. |
Yes, I am sorry, I was not so clear, my request was addressed to know if this dependency would be upgraded soon, Scrypt has been deprecated, so if I downgrade NodeJS, it would work only for that version and I won't be able to upgrade only for one package, in the future. I asked for future maintainability of a new project. UPDATE: |
Can you try with the latest version of Drizzle(in your package.json you can point to the latest commit of this repo). Drizzle has updated to |
With yarn or npm I get this error: |
What did you put exactly in your package.json?
|
I tried with "yarn add" command. Same result if I put "package":"git://...#commit" in the package.json. If I install it with NPM it gets a webpack error. I can't put any logs here because I am without my laptop right now, sorry. |
@GiovanniCapizzi can you provide a repo that demonstrates the issue? It would be helpful for us to investigate. |
Just following this tutorial. If you want to reproduce the issue just create a simple node (12) project (like react) and issue the yarn add command. If you want I can prepare and upload a repo for you, just let me know. |
Hi @GiovanniCapizzi, Interesting that it fails on node v12.x.x for both Windows and OS X.
Thanks in advance! |
I have same issue with MacOS Catalina 10.15.
I know I can revert to Node 10 and it works, but it would be great to have a fix for Node 12 soon. Many thanks in advance. |
Thank you @msicilia, this is quite helpful! |
Really sorry I forgot to answer due to work. |
Thanks @GiovanniCapizzi ! I'll work on reproducing this on OS X with your versions. Please note, that for now, we only support WSL windows build environment. |
NodeJS just updated the LTS version, now we have 12.13.0 LTS in just few days 😆 |
I ran the following under Node
That being said, I did get a similar error on
However, this seems to be because of some libraries Web3.js is using. I've made an issue here: web3/web3.js#3181 |
Maybe this is caused by the same web3.js which could use this deprecated module. I will try again updating my node version.
|
So is there a fix, I have been struggling with the same error. can't find a fix or a workaround that works anymore. Thanks |
Same problem. Environment:
I get the error when I use However, following the link that OP provided, when I use the command Are we supposed to install Update It seems like |
I can't add drizzle to my project because of
scrypt module
which fails to build. Already found this, and it seems to happen with NodeJs 12. I wouldn't like to try with Node10 because scrypt doesn't seems to be manteined anymore, is there hope for new fix soon?The text was updated successfully, but these errors were encountered: