-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postinstall broken for pnpm 7+ #143
Comments
@canadaduane Thanks for reporting it. Still I've just tested it and installation worked without issues: |
Do you have |
I'm running into a similar issue. I have a a Docker image with a build environment for some legacy application. The Docker image installs FROM ubuntu:20.04
RUN apt-get update && apt-get install -y curl
ENV NVM_VERSION 0.39.1
ENV NODE_VERSION 10.22.1
ENV NPM_VERSION 7.24.0
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v$NVM_VERSION/install.sh | bash \
&& chmod u+x /root/.nvm/nvm.sh \
&& . /root/.nvm/nvm.sh \
&& nvm install v$NODE_VERSION \
&& nvm use v$NODE_VERSION
ENV PATH="${PATH}:/root/.nvm/versions/node/v${NODE_VERSION}/bin"
RUN npm install -g npm@$NPM_VERSION
RUN npm install -g es5-ext Output of
The error as mentioned in the
As far as I am aware,
I noticed |
Same error.
Also using nvm. Please consider something like this #180 |
Also having this issue in a GitHub Action that installs the latest versions of serverless and serverless-python-requirements, which has a dependency of es5-ext. |
Sorry for the late response, I was on vacation last week. I believe I've fixed that with v0.10.61 (just published). If you still see any issues please report |
I've been messing around with this for a few hours. One of my dependencies (or sub-deps) includes es5-ext. When using
pnpm
(I'm using version 7.0.0-rc.2), the postinstall always fails with the following:To replicate, install
pnpm
, then:OS: Linux (Pop!_OS 22.04)
Nationality: Canadian
Note: I do not have
node
in my PATH.The text was updated successfully, but these errors were encountered: