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

RuntimeError: npm dependencies failed to install #103

Open
Spencerai opened this issue May 14, 2020 · 0 comments
Open

RuntimeError: npm dependencies failed to install #103

Spencerai opened this issue May 14, 2020 · 0 comments

Comments

@Spencerai
Copy link

failed install the extensions:
"https://registry.npm.taobao.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.13.0.tgz: Request failed "404 Not Found"".

below is the log:
spencer@spencer work % jupyter labextension install @jupyterlab/github
Building jupyterlab assets (build:prod:minimize)
An error occured.
RuntimeError: npm dependencies failed to install
See the log file for details: /var/folders/r4/sqyp9pmj7sl8lc7q5grjvdh80000gn/T/jupyterlab-debug-8j8rfory.log

in the log:
Node v12.16.3

Yarn configuration loaded.

/usr/local/bin/npm pack @jupyterlab/github
npm notice
npm notice 📦 @jupyterlab/github@2.0.0
npm notice === Tarball Contents ===
npm notice 2.3kB package.json
npm notice 1.5kB LICENSE
npm notice 6.2kB README.md
npm notice 2.3kB lib/browser.d.ts
npm notice 13.0kB lib/browser.js
npm notice 6.5kB lib/contents.d.ts
npm notice 23.0kB lib/contents.js
npm notice 4.8kB lib/github.d.ts
npm notice 3.1kB lib/github.js
npm notice 251B lib/index.d.ts
npm notice 5.4kB lib/index.js
npm notice 679B schema/drive.json
npm notice 2.4kB style/binder.svg
npm notice 2.7kB style/index.css
npm notice 35.4kB style/octocat_error.png
npm notice 2.1kB style/octocat-dark.svg
npm notice 2.1kB style/octocat-light.svg
npm notice === Tarball Details ===
npm notice name: @jupyterlab/github
npm notice version: 2.0.0
npm notice filename: jupyterlab-github-2.0.0.tgz
npm notice package size: 54.3 kB
npm notice unpacked size: 113.9 kB
npm notice shasum: ca86cba6c136b9b3b138b1c8f7c50e576630e650
npm notice integrity: sha512-OeE6CUicyqg1p[...]/FxdT+/s8b/WQ==
npm notice total files: 17
npm notice
jupyterlab-github-2.0.0.tgz

Node v12.16.3

Yarn configuration loaded.
Building jupyterlab assets (build:prod:minimize)

node /Users/spencer/software/anaconda3/lib/python3.7/site-packages/jupyterlab/staging/yarn.js install --non-interactive
yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error An unexpected error occurred: "https://registry.npm.taobao.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.13.0.tgz: Request failed "404 Not Found"".
info If you think this is a bug, please open a bug report with the information provided in "/Users/spencer/software/anaconda3/share/jupyter/lab/staging/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

npm dependencies failed to install
Traceback (most recent call last):

File "/Users/spencer/software/anaconda3/lib/python3.7/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
yield

File "/Users/spencer/software/anaconda3/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 105, in start
command=command, app_options=app_options)

File "/Users/spencer/software/anaconda3/lib/python3.7/site-packages/jupyterlab/commands.py", line 460, in build
command=command, clean_staging=clean_staging)

File "/Users/spencer/software/anaconda3/lib/python3.7/site-packages/jupyterlab/commands.py", line 652, in build
raise RuntimeError(msg)

RuntimeError: npm dependencies failed to install

Exiting application: jupyter

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

1 participant