Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

[Yarn] Yarn install throws an error #1216

Closed
jasonLaster opened this issue Nov 16, 2016 · 4 comments
Closed

[Yarn] Yarn install throws an error #1216

jasonLaster opened this issue Nov 16, 2016 · 4 comments

Comments

@jasonLaster
Copy link
Contributor

jasonLaster commented Nov 16, 2016

We've seen two errors with yarn install when Yarn is at version 0.17.

  • Using `0.16.1 fixes the issues.
  • Even though there's an error, the install might still be successful (lets confirm this)

Error 1: npm-workerjs

error An unexpected error occurred: "ENOENT: no such file or directory, 
lstat '/Users/santosh.v04/Library/Caches/Yarn/npm-workerjs-0.1.1-6c53f106c5664d4691c241ab2f43c5afe4d74fa8'".

Error 2: roadrunner.json
issue

/home/ubuntu/.yarn/bin/yarn.js:47
      throw err;
      ^

Error: ENOENT: no such file or directory, open '/home/ubuntu/.cache/yarn/.roadrunner.json'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.fs.writeFileSync (fs.js:1333:33)
    at /home/ubuntu/.yarn/node_modules/roadrunner/index.js:25:6
    at /home/ubuntu/.yarn/node_modules/roadrunner/index.js:12:12
    at emitOne (events.js:101:20)
    at process.emit (events.js:188:7)
    at processEmit [as emit] (/home/ubuntu/.yarn/node_modules/signal-exit/index.js:140:35)
    at process.exit (internal/process.js:146:15)
    at Command.<anonymous> (/home/ubuntu/.yarn/node_modules/commander/index.js:825:13)
> Yarn was installed, but doesn't seem to be working :(.

@jasonLaster
Copy link
Contributor Author

@juliandescottes here is the roadrunner bug. I'm surprised that you were seeing it with 0.16.1. Lets see if we can come up with a fix soon. Happy to help later.

@jasonLaster
Copy link
Contributor Author

closing as Yarn is not being flakey on CI and others aren't reporting this. We can re-open if they do.

#1235

@stellargo
Copy link

Users-MacBook-Pro:debugger.html User$ yarn start
yarn start v1.0.1
$ node bin/dev-server
module.js:474
    throw err;
    ^

Error: Cannot find module 'devtools-launchpad/index'
    at Function.Module._resolveFilename (module.js:472:15)
    at Function.Module._load (module.js:420:25)
    at Module.require (module.js:500:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/User/debugger.html/bin/dev-server.js:4:17)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)
    at Function.Module._load (module.js:441:3)
error Command failed with exit code 1.

Getting the above error when starting yarn.
node version: 7.0.0
nvm version: 0.32.1

@sujaykumardey
Copy link

cd debugger,
after checkout release-120 branch
then yarn install,
yarn start
start localhost:8000,
Screenshot from 2020-05-27 16-19-37

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants