The command '/bin/bash -c npm i -g @pnp/office365-cli' returned a non-zero code: 1
FROM tensorflow/tensorflow:1.14.0-gpu-py3
RUN apt-get update && apt-get install -y libsm6 libxext6 libfontconfig1 libxrender1 libglib2.0-0 libicu-dev git git-lfs zip unzip nodejs npm screen && rm -rf /var/lib/apt/lists/*
ADD ./requirements.txt /requirements.txt
WORKDIR /
RUN pip install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html
RUN az extension add --name azure-devops
RUN npm i -g @pnp/office365-cli
For it to work.
npm ERR! Linux 4.19.76-linuxkit
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "-g" "@pnp/[email protected]"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code E404
npm ERR! 404 Not found : @pnp/office365-cli
npm ERR! 404
npm ERR! 404 '@pnp/office365-cli' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
Any machine with npm.
Hi @OodapowUiPath are you using a custom npm registry?
The CLI exists in the official npm registry here https://www.npmjs.com/package/@pnp/office365-cli and it can be downloaded as long as your .npmrc is empty or has the official npmjs registry listed.
@VelinGeorgiev i was using the default registry, the issue seems to have been solved. It only happend for a 3-4 hour window in the day i raised the issue.
Thank you for update @OodapowUiPath 馃憤馃徎
Most helpful comment
@VelinGeorgiev i was using the default registry, the issue seems to have been solved. It only happend for a 3-4 hour window in the day i raised the issue.