Skip to content

"invalid argument, chown" when running yarn install #1485

@mythmon

Description

@mythmon

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

Bug

What is the current behavior?

When running yarn install in docker build, in CircleCI, fails after [2/4] Fetching packages.... This doesn't happen when running docker build locally.

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

https://circleci.com/gh/mozilla/normandy/1098#ssh-info/containers/0

What is the expected behavior?

Install to succeed

Please mention your node.js, yarn and operating system version.

Yarn version:
0.16.1

Node version:
4.6.1

Platform:
Circle CI

yarn-error.log

Arguments: 
  /usr/bin/nodejs /usr/bin/yarn install

PATH: 
  /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Yarn version: 
  0.16.1

Node version: 
  4.6.1

Platform: 
  linux x64

npm manifest: 
  <SNIP> https://ptpb.pw/WpPb

yarn manifest: 
  No manifest

bower manifest: 
  No manifest

Lockfile:

THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.

yarn lockfile v1

https://ptpb.pw/WpPb

Trace:
Error: https://registry.yarnpkg.com/react-addons-css-transition-group/-/react-addons-css-transition-group-15.3.1.tgz: EINVAL: invalid argument, chown '/root/.yarn-cache/npm-react-addons-css-transition-group-15.3.1/package.json'
at Error (native)

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