codesandbox / dependency-packager

Other
238 stars 62 forks source link

cannot yarn install on linux #21

Open Gaurav0 opened 4 years ago

Gaurav0 commented 4 years ago

Hi,

I'm the maintainer of Ember Twiddle and I was looking for a way to support dependencies from npm rather than CDNs which work but require packages to be built in UMD. I came across this project and was hoping to see if it worked for us.

Anyway, I cloned it and tried to yarn install and get this error message:

yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
error fsevents@1.2.7: 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.

As I understand it, fs-events should be made an optional dependency because it is not needed on non Mac platforms.

Using Ubuntu 18.04, node 12, and yarn 1.22.4