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 dependecies are to much and wrong #3

Closed
hsimpson opened this issue Jul 29, 2021 · 2 comments · Fixed by #4
Closed

The dependecies are to much and wrong #3

hsimpson opened this issue Jul 29, 2021 · 2 comments · Fixed by #4

Comments

@hsimpson
Copy link

See:

"dependencies": {

This could break some installations with yarn, e.g. on linux because "fsevents" should never be a dependency only an optional dependency.

And why you need 889 dependencies? This clutter the lokal installations and could lead into other problems too.

@rallieon
Copy link

rallieon commented Jul 29, 2021

I also ran into an issue when trying to use this addon this morning as well. I am running my setup in WSL2/Linux and the fsevents being required is causing an issue on the installation of the add-on.

Specifically:

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  undefined
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

@mheob
Copy link
Contributor

mheob commented Aug 5, 2021

Yes, same here on a GitHub Action workflow:

yarn install v1.22.11
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: 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.
Error: Process completed with exit code 1.

And while building a Docker container:

[deps 6/6] RUN yarn install --frozen-lockfile:                                                                      
#15 0.400 yarn install v1.22.5                                                                                         
#15 0.541 [1/4] Resolving packages...                                                                                  
#15 2.604 [2/4] Fetching packages...                                                                                   
#15 66.39 error [email protected]: The platform "linux" is incompatible with this module.                                 
#15 66.40 error Found incompatible module.
#15 66.40 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

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

Successfully merging a pull request may close this issue.

3 participants