Skip to content

.bin folder missing when using --modules-folder #4297

Closed
@kilianc

Description

@kilianc

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

What is the current behavior?

ENV NODE_ENV production
ENV NODE_PATH /opt/app-node-modules
ENV PATH $PATH:/opt/app-node-modules/.bin

RUN yarn --no-emoji --modules-folder $NODE_PATH --pure-lockfile

.bin is nowhere to be found.

What is the expected behavior?

Behavior (as per yarn@0.24.4 and node@7.10.0) should be .bin folder at /opt/app-node-modules/.bin

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

  • node@8.4.0
  • yarn@0.27.5

P.S. I see this behavior bumping our docker images to 8.4.0 from 7.10.0

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