Closed z124055429y closed 1 year ago
Describe the bug install failure.
Result from CocInfo Using npm from: /usr/local/bin/npm Get info from https://registry.npmjs.org/ Downloading from https://registry.npmjs.org/coc-markdown-preview-enhanced/-/ coc-markdown-preview-enhanced-0.5.0.tgz Download progress 4.7% Download progress 9.5% Download progress 14.2% Download progress 19.0% Download progress 23.7% Download progress 28.5% Download progress 33.2% Download progress 37.9% Download progress 42.7% Download progress 47.4% Download progress 52.2% Download progress 56.9% Download progress 61.6% Download progress 66.4% Download progress 71.1% Download progress 75.9% Download progress 80.6% Download progress 95.3% Download progress 100.0% Extension download at /Users/zhangyue/.config/coc/extensions/node_modules/coc- markdown-preview-enhanced-2e20a073-57ef-4f45-bbba-4d83f6909181 Installing dependencies by: /usr/local/bin/npm install --ignore-scripts --no- lockfile --omit=dev --legacy-peer-deps --no-global. [npm stderr] npm ERR! code ERR_INVALID_URL [npm stderr] npm ERR! Invalid URL [npm stderr] [npm stderr] npm ERR! A complete log of this run can be found in: /Users/ zhangyue/.npm/_logs/2023-05-15T02_35_34_744Z-debug-0.log /usr/local/bin/npm install exited with 1
Steps to reproduce Steps to reproduce the behavior:
nvim
:CocCommand ...
Expected behavior install succeed
Screenshots
Additional context None
Resolved, see https://stackoverflow.com/questions/69768980/how-to-resolve-code-err-invalid-url-in-angular-cli-installation
Describe the bug install failure.
Result from CocInfo Using npm from: /usr/local/bin/npm
Get info from https://registry.npmjs.org/
Downloading from https://registry.npmjs.org/coc-markdown-preview-enhanced/-/
coc-markdown-preview-enhanced-0.5.0.tgz
Download progress 4.7%
Download progress 9.5%
Download progress 14.2%
Download progress 19.0%
Download progress 23.7%
Download progress 28.5%
Download progress 33.2%
Download progress 37.9%
Download progress 42.7%
Download progress 47.4%
Download progress 52.2%
Download progress 56.9%
Download progress 61.6%
Download progress 66.4%
Download progress 71.1%
Download progress 75.9%
Download progress 80.6%
Download progress 95.3%
Download progress 100.0%
Extension download at /Users/zhangyue/.config/coc/extensions/node_modules/coc-
markdown-preview-enhanced-2e20a073-57ef-4f45-bbba-4d83f6909181
Installing dependencies by: /usr/local/bin/npm install --ignore-scripts --no-
lockfile --omit=dev --legacy-peer-deps --no-global.
[npm stderr] npm ERR! code ERR_INVALID_URL
[npm stderr] npm ERR! Invalid URL
[npm stderr]
[npm stderr] npm ERR! A complete log of this run can be found in: /Users/
zhangyue/.npm/_logs/2023-05-15T02_35_34_744Z-debug-0.log
/usr/local/bin/npm install exited with 1
Steps to reproduce Steps to reproduce the behavior:
nvim
:CocCommand ...
Expected behavior install succeed
Screenshots
Additional context None