Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.12.1" #13

Open
TribeWeb opened this issue Nov 28, 2022 · 1 comment

Comments

@TribeWeb
Copy link

TribeWeb commented Nov 28, 2022

First of all - thank you - this project is a MacBook battery life saver! ❤️

When installing, I got the following message.

yarn global add nosync-icloud
yarn global v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.12.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

The simple workaround was to use nvm to switch to node v17 - and then it installed no problem. But I thought you'd like to know.
Thanks

@haochuan9421
Copy link
Owner

haochuan9421 commented Nov 28, 2022

@achrinza/node-ipc is not in the dependencies of nosync-icloud, you can install nosync-icloud in a separate empty folder (without global) and checkout node_modules,you won't find @achrinza/node-ipc. So, @achrinza/node-ipc may be installed as dependencies or dependencies's dependencies of other global package in you MacBook. Update the outdated global package or remove it will solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants