Skip to content

Yarn fails on initial npm install (as of 25 minutes ago) #1774

@dbashford

Description

@dbashford

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Yarn not working at all.

This is happening in both my build and my local environment as of 25 minutes ago, which is also is when readable-stream was last published. Note the error is occurring in readable-stream. Haven't debugged beyond noticing that coincidence.

If the current behavior is a bug, please provide the steps to reproduce.

npm install -g yarn
yarn --version

Error: ENOENT: no such file or directory, open '/Users/bashfd/.nvm/versions/node/v6.3.1/lib/node_modules/yarn/node_modules/buffer-shims/index.js'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.fs.readFileSync (fs.js:508:33)
    at Object.Module._extensions..js (module.js:549:20)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/bashfd/.nvm/versions/node/v6.3.1/lib/node_modules/yarn/node_modules/readable-stream/lib/_stream_readable.js:40:18)

What is the expected behavior?
Not error out 😄

Please mention your node.js, yarn and operating system version.
6.3.1
0.16.1
El Capitan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions