Skip to content

Commit

Permalink
Enable yarn's 'workspaces-experimental'
Browse files Browse the repository at this point in the history
I had been receiving
'error The workspace feature is currently experimental and needs to be
manually enabled - please add "workspaces-experimental true" to your
.yarnrc file.'

So I added 'RUN yarn config set workspaces-experimental true' right
after the installation of yarn, and the error did not appear on next
runtime.

resolves: harvard-dce#18
  • Loading branch information
Daniel Schulz-Jackson committed Oct 19, 2018
1 parent c5324d2 commit 291297d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash \
unzip \
fontforge

RUN yarn config set workspaces-experimental true

RUN apt-get clean && rm -Rf /var/cache/apt

# Set the locale to avoid active_model_serializers bundler install failure
Expand Down

0 comments on commit 291297d

Please sign in to comment.