npx-import
Advanced tools
Comparing version 1.0.4-0 to 1.0.5-0
@@ -129,2 +129,8 @@ import semver from 'semver'; | ||
console.log({ paths }); | ||
const { stdout: env } = await execaCommand(`node -e 'console.log(JSON.stringify(process.env))`, { | ||
shell: true, | ||
}); | ||
console.log({ env }); | ||
const { stdout: env2 } = await execaCommand(`node -e 'console.log(JSON.stringify(process.env))`); | ||
console.log({ env2 }); | ||
throw new Error(`Failed to find temporary install directory. Looking for paths matching '/.npm/_npx/' in:\n${JSON.stringify(paths)}`); | ||
@@ -131,0 +137,0 @@ } |
{ | ||
"name": "npx-import", | ||
"version": "1.0.4-0", | ||
"version": "1.0.5-0", | ||
"description": "Runtime dependencies, installed as if by magic ✨", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -164,5 +164,15 @@ import semver from 'semver' | ||
if (!tempPath) { | ||
console.log({stdout}) | ||
console.log({stderr}) | ||
console.log({paths}) | ||
console.log({ stdout }) | ||
console.log({ stderr }) | ||
console.log({ paths }) | ||
const { stdout: env } = await execaCommand( | ||
`node -e 'console.log(JSON.stringify(process.env))`, | ||
{ | ||
shell: true, | ||
} | ||
) | ||
console.log({ env }) | ||
const { stdout: env2 } = await execaCommand(`node -e 'console.log(JSON.stringify(process.env))`) | ||
console.log({ env2 }) | ||
throw new Error( | ||
@@ -169,0 +179,0 @@ `Failed to find temporary install directory. Looking for paths matching '/.npm/_npx/' in:\n${JSON.stringify( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58843
899