Skip to content
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

/bin/sh: npm: not found #45

Open
ben-le opened this issue Jan 30, 2018 · 2 comments
Open

/bin/sh: npm: not found #45

ben-le opened this issue Jan 30, 2018 · 2 comments

Comments

@ben-le
Copy link

ben-le commented Jan 30, 2018

Openshift 3.7

Deploy from S2I (externally)

$ oc new-app https://github.com/weepee-org/openshift-apache-php7.git --name apache-php7

The pod throws out the error below.

/bin/sh: npm: not found
Removing intermediate container 7389ed9aff7d
error: build error: The command '/bin/sh -c apk --no-cache add --update tar rsync openssl python ca-certificates openssl ssmtp nodejs git mysql-client openssh-client icu-libs libwebp && update-ca-certificates && apk --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted add --update php7 php7-apache2 curl php7-curl php7-zip php7-common php7-wddx php7-xmlrpc php7-xml php7 php7-zlib php7-tidy php7-xsl php7-xmlreader php7-sysvmsg php7-sysvsem php7-pgsql php7-pdo_pgsql php7-session php7-pspell php7-shmop php7-sqlite3 php7-posix php7-sysvshm php7-snmp php7-sockets php7-phar php7-soap php7-odbc php7-pdo_mysql php7-pcntl php7-json php7-ldap php7-mcrypt php7-pdo_odbc php7-openssl php7-mysqli php7-intl php7-pdo_dblib php7-mysqlnd php7-opcache php7-pdo php7-mbstring php7-gmp php7-gettext php7-ctype php7-dom php7-calendar php7-enchant php7-dba php7-bz2 php7-gd php7-iconv php7-redis && rm -f /var/cache/apk/* && apk upgrade && curl -sS https://getcomposer.org/installer | php7 -- --install-dir=/usr/local/bin --filename=composer && mkdir /app && chmod a+rwx /app && mkdir /run/apache2/ && chmod a+rwx /run/apache2/ && npm install -g bower && mkdir /.composer && chmod a+rwx /.composer && ln -s /usr/bin/php7 /usr/bin/php' returned a non-zero code: 127

@nomike
Copy link

nomike commented Nov 12, 2018

Affects me too.
I'm using openshift dedicated.

@Pankajnagpal11
Copy link

Same with me..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants