daviswhitehead/shayr-app

Remove fsevents dependency from package.json

Closed this issue · 0 comments

Are there certain things to report that are not a bug or feature?
I am trying to setup this repository on my local linux machine, when I was doing yarn install,
I got this error

yarn install v1.16.0
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error fsevents@1.2.9: The platform "linux" is incompatible with this module.
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

and then I did project scope find fsevents and found out that this package was mentioned in package.json but never used anywhere in the project.

So I removed the fsevents dependency from package.json, and I was able to yarn install.

If you have no plan to use this package, you can remove it so that any new comer who git clone the repo that doesn't encounter same problem.

Additional context
Do you want contribution in this repo. I would like to poke around and do any contribution I can, Please tell me if you are interested in code contribution?