You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the newly released version of ripgrep I get an error upon install from npm:
Error: Cannot find module 'proxy-from-env'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/theia/node_modules/vscode-ripgrep/lib/download.js:11:24)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
An effectively runtime dependency was added (proxy-from-env), but as a dev-dependency. In consequence it's not present, when ripgrep's download script is called, unless a project happens to pull it for some other reason.
> vscode-ripgrep@1.6.0 postinstall /tmp/a/node_modules/vscode-ripgrep
> node ./lib/postinstall.js
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'proxy-from-env'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/tmp/a/node_modules/vscode-ripgrep/lib/download.js:11:24)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm WARN a@1.0.0 No description
npm WARN a@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vscode-ripgrep@1.6.0 postinstall: `node ./lib/postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vscode-ripgrep@1.6.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
The text was updated successfully, but these errors were encountered:
Sorry @EmmanuelGrandin, I forgot that this project has to be dependency-free. You could reimplement the functionality that those two modules provide. It's probably not too complex.
Hi,
With the newly released version of
ripgrep
I get an error upon install from npm:Looking at recent changes, I think I stumbled on the issue here: v1.5.8...v1.5.9#diff-3dac1e71569778416eb58de64427737eR11
An effectively runtime dependency was added (
proxy-from-env
), but as a dev-dependency. In consequence it's not present, when ripgrep's download script is called, unless a project happens to pull it for some other reason.To reproduce:
The text was updated successfully, but these errors were encountered: