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

yarn global install fails #428

Closed
vomaksh opened this issue Sep 9, 2022 · 5 comments
Closed

yarn global install fails #428

vomaksh opened this issue Sep 9, 2022 · 5 comments

Comments

@vomaksh
Copy link

vomaksh commented Sep 9, 2022

Describe the bug
yarn global install wetty fails

To Reproduce
Steps to reproduce the behaviour:

  1. yarn global install wetty

Expected behaviour
It should install successfully

Node version
v16.17.0

Error log

error /home/yorozuya/.config/yarn/global/node_modules/wetty: Command failed.
Exit code: 127
Command: yarn build
Arguments: 
Directory: /home/yorozuya/.config/yarn/global/node_modules/wetty
Output:
yarn run v1.22.19
warning ../../package.json: No license field
$ snowpack build
@headersalreadysent
Copy link

this bugs affects me too

@swampfox0866
Copy link

swampfox0866 commented Sep 14, 2022

Having the same issue:

[root@mail-gw-01 ~]# yarn global add wetty
yarn global v1.22.19
[1/4] Resolving packages...
warning wetty > gc-stats > node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[-/6] ⠁ waiting...
[6/6] ⠁ wetty
[-/6] ⠁ waiting...
[-/6] ⠁ waiting...
error /usr/local/share/.config/yarn/global/node_modules/wetty: Command failed.
Exit code: 127
Command: yarn build
Arguments:
Directory: /usr/local/share/.config/yarn/global/node_modules/wetty
Output:
yarn run v1.22.19
$ snowpack build

@hengkp
Copy link

hengkp commented Sep 28, 2022

I also have the same error after run:

$ yarn global add wetty

Having the same issue:

[root@mail-gw-01 ~]# yarn global add wetty
yarn global v1.22.19
[1/4] Resolving packages...
warning wetty > gc-stats > node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[-/6] ⠁ waiting...
[6/6] ⠁ wetty
[-/6] ⠁ waiting...
[-/6] ⠁ waiting...
error /usr/local/share/.config/yarn/global/node_modules/wetty: Command failed.
Exit code: 127
Command: yarn build
Arguments:
Directory: /usr/local/share/.config/yarn/global/node_modules/wetty
Output: yarn run v1.22.19
$ snowpack build

@kenshin6x
Copy link

kenshin6x commented Sep 28, 2022

Still same issue on Macbook M1 2020, macOS 12.5.1

➜  ~ yarn global add wetty
yarn global v1.22.19
[1/4] 🔍  Resolving packages...
warning wetty > gc-stats > node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
[-/6] ⠁ waiting...
[6/6] ⠁ wetty
[-/6] ⠁ waiting...
[-/6] ⠁ waiting...
error /Users/kenshin6x/.config/yarn/global/node_modules/wetty: Command failed.
Exit code: 127
Command: yarn build
Arguments: 
Directory: /Users/kenshin6x/.config/yarn/global/node_modules/wetty
Output:
yarn run v1.22.19
warning ../../package.json: No license field
$ snowpack build

node -v
v18.9.1

npm -v
8.19.1

yarn -v
1.22.19

@butlerx
Copy link
Owner

butlerx commented Oct 1, 2022

looks like the postinstall added in #419 is only required for manual installs, E.g container build .
will remove and update docs

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

6 participants