Skip to content

Spend too much time yarning... #149

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

Closed
Runrioter opened this issue Oct 12, 2017 · 4 comments
Closed

Spend too much time yarning... #149

Runrioter opened this issue Oct 12, 2017 · 4 comments

Comments

@Runrioter
Copy link

Spend too much time yarning install.
To the end, I have to enter CTRL+C.

➜ yarn
yarn install v0.27.5
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "[email protected]" has incorrect peer dependency "babel-eslint@^7.2.3".
warning "[email protected]" has incorrect peer dependency "[email protected]".
[4/4] Building fresh packages...
[-/4] ⠠ waiting...
[-/4] ⠠ waiting...
[-/4] ⠠ waiting...
[4/4] ⠠ sharp: gyp info spawn args   '-Goutput_dir=.' ]
[-/4] ⠠ waiting...
^C

So I got this...

➜ yarn run dev
yarn run v0.27.5
$ gatsby develop -H 0.0.0.0
success delete html files from previous builds — 0.006 s
success open and validate gatsby-config.js — 0.003 s
success copy gatsby files — 0.093 s
error UNHANDLED EXCEPTION


  Error: Cannot find module '../build/Release/sharp.node'

  - module.js:11 require
    internal/module.js:11:18

  - constructor.js:8 Object.<anonymous>
    [reactjs.org]/[sharp]/lib/constructor.js:8:15

  - module.js:11 require
    internal/module.js:11:18

  - index.js:3 Object.<anonymous>
    [reactjs.org]/[sharp]/lib/index.js:3:15

  - module.js:11 require
    internal/module.js:11:18

  - index.js:395 Object.<anonymous>
    [reactjs.org]/[gatsby-plugin-sharp]/index.js:395:13


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Help me plz 😢

@renatoselenica
Copy link
Contributor

I think first of all you might want to update your yarn version. Something in an older version might be causing packages to not get downloaded and you are getting the hang on the install.

@clemmy
Copy link
Contributor

clemmy commented Oct 12, 2017

What yarn version are you on, and how long are you waiting before it hangs?

@renatoselenica
Copy link
Contributor

He is on v0.27.5. And 1.2 is out. So i think an update is due

@Runrioter
Copy link
Author

@clemmy > 30min, when I was having a meal.
@renatoselenica Upgrade to 1.2.1, everything is ok.
Thank you, guys.

jhonmike pushed a commit to jhonmike/reactjs.org that referenced this issue Jul 1, 2020
erro simples mas me incomodou um pouco 😝 

Eu li o restante da página e foi o único que encontrei.
BetterZxx pushed a commit to BetterZxx/react.dev that referenced this issue Mar 21, 2023
)

docs(cn): translate src/components/CodeEditor/CodeEditor.js
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

3 participants