You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having issues with yarn 0.23.4, it doesn't work with node-gyp package.
One workaround is to install it before yarn install
RUN yarn global add node-gyp
RUN yarn install
As you can see here #346 it has been fixed in the latest pre-release. I already tried and it works.
But since this repo installs 0.23.4 by default I needed to delete it and install the latest pre-release using the following instructions.
FROM node:7.10.0
RUN rm -f /usr/local/bin/yarnpkg
RUN rm -f /usr/local/bin/yarn
RUN rm -rf ${HOME}/.yarn
RUN curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.24.2
ENV PATH /root/.yarn/bin:$PATH
RUN yarn -v
it throws the following while executing RUN yarn-v
/root/.yarn/bin/yarn: 15: /root/.yarn/bin/yarn: [[: not found
yarn install v0.24.2
info No lockfile found.
It works! but still seeing /root/.yarn/bin/yarn: 15: /root/.yarn/bin/yarn: [[: not found
any thoughts on this?
The text was updated successfully, but these errors were encountered:
Sorry, this is not the proper place for this question, your problem is not with the node image. If you need help with Yarn's install script (which we do not use), please use their issue tracker.
Hey everyone,
I was having issues with
yarn 0.23.4
, it doesn't work withnode-gyp
package.One workaround is to install it before
yarn install
As you can see here #346 it has been fixed in the latest pre-release. I already tried and it works.
But since this repo installs
0.23.4
by default I needed to delete it and install the latest pre-release using the following instructions.it throws the following while executing
RUN yarn-v
It works! but still seeing
/root/.yarn/bin/yarn: 15: /root/.yarn/bin/yarn: [[: not found
any thoughts on this?
The text was updated successfully, but these errors were encountered: