Skip to content

.roadrunner.json error #1724

@zeke

Description

@zeke

👋

I just installed a nightly build of yarn to get all the latest goodies. Following the instructions at #1474 and yarnpkg/website#245:

wget https://yarnpkg.com/install.sh
chmod +x install.sh
install.sh --nightly

The install script told me to remove ~/.yarn so I did, then re-ran it. Now I get this error when I run yarn:

❯ yarn -V
0.17.0-20161107.1501
/Users/zeke/.yarn/bin/yarn.js:47
      throw err;
      ^

Error: ENOENT: no such file or directory, open '/Users/zeke/Library/Caches/Yarn/.roadrunner.json'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.fs.writeFileSync (fs.js:1333:33)
    at /Users/zeke/.yarn/node_modules/roadrunner/index.js:25:6
    at /Users/zeke/.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] (/Users/zeke/.yarn/node_modules/signal-exit/index.js:140:35)
    at process.exit (internal/process.js:146:15)
    at Command.<anonymous> (/Users/zeke/.yarn/node_modules/commander/index.js:825:13)

Once I've actually used yarn to add a dep somewhere, this error goes away, pesumably because this directory is created as a side-effect of the installation process?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions