Closed ysrikar-UM closed 1 year ago
Hi, sorry for the issue, I am encountering this as well. I will get it fixed by tonight.
Also note that if you ever have trouble installing from source, you can use one of the binaries provided in each release.
@ysrikar-UM can you try again and see if the issue is fixed?
Hello, Thank you for the quick response. I tried running sudo npm install -g graco again but I still got the same error.
Can you provide the full logs, and details on the platform/OS you're using?
Yes,
I am using Windows 10 and WSL2. I pasted some the log details below.
27586 verbose notsup Required: {"node":">=12"}
27586 verbose notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
27587 warn notsup Unsupported engine for cliui@8.0.1: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
27588 warn notsup Not compatible with your version of node/npm: cliui@8.0.1
27589 verbose notsup Not compatible with your version of node/npm: cliui@8.0.1
27589 verbose notsup Required: {"node":">=12"}
27589 verbose notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
27590 warn notsup Unsupported engine for globby@13.1.3: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
27591 warn notsup Not compatible with your version of node/npm: globby@13.1.3
27592 verbose notsup Not compatible with your version of node/npm: globby@13.1.3
27592 verbose notsup Required: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"}
27592 verbose notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
27593 warn notsup Unsupported engine for detect-newline@4.0.0: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
27594 warn notsup Not compatible with your version of node/npm: detect-newline@4.0.0
27595 verbose notsup Not compatible with your version of node/npm: detect-newline@4.0.0
27595 verbose notsup Required: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"}
27595 verbose notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
27596 warn notsup Unsupported engine for detect-indent@7.0.1: wanted: {"node":">=12.20"} (current: {"node":"10.19.0","npm":"6.14.4"})
27597 warn notsup Not compatible with your version of node/npm: detect-indent@7.0.1
27598 verbose notsup Not compatible with your version of node/npm: detect-indent@7.0.1
27598 verbose notsup Required: {"node":">=12.20"}
27598 verbose notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
27599 warn notsup Unsupported engine for is-plain-obj@4.1.0: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
27600 warn notsup Not compatible with your version of node/npm: is-plain-obj@4.1.0
27601 verbose notsup Required: {"node":">=12"}
27601 verbose notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
27602 warn notsup Unsupported engine for slash@4.0.0: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
27603 warn notsup Not compatible with your version of node/npm: slash@4.0.0
27604 verbose notsup Not compatible with your version of node/npm: slash@4.0.0
27604 verbose notsup Required: {"node":">=12"}
27604 verbose notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
27605 verbose stack Error: node-pty@0.10.1 install: node scripts/install.js
27605 verbose stack Exit status 1
27605 verbose stack at EventEmitter.node scripts/install.js
27614 error Exit status 1
27615 error Failed at the node-pty@0.10.1 install script.
27615 error This is probably not a problem with npm. There is likely additional logging output above.
27616 verbose exit [ 1, true ]
Can you try upgrading your version of Node? I am using Node v16, and I notice your log says that you have Node v10.
Yes, this worked. Thank you, I was successfully able to install graco.
This issue has been made moot since the switch to Depot.
I am unable to install graco using npm. After running the (sudo) npm install -g graco command, I am getting the errors below.