GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — npm shim is not used when running the npm command from a script · Issue #1935 · voidzero-dev/vite-plus DescriptionDescribe the bugWhen running ReproductionSteps to reproduceGiven following {
"name": "test",
"version": "1.0.0",
"type": "module",
"devEngines": {
"packageManager": {
"name": "npm",
"version": "11.17.0",
"onFail": "download"
},
"runtime": {
"name": "node",
"version": "22.22.0",
"onFail": "download"
}
}
}we have: npm --version # 11.17.0 which npm # ~/.vite-plus/bin/npm which is expected. Given import childProcess from "node:child_process"; import path from "node:path"; const projectDir = path.resolve(import.meta.dirname, "."); try { const output = childProcess.execSync(`which npm`, { cwd: projectDir, encoding: "utf-8", stdio: "pipe", }); console.log(output); } catch (error) { console.error(String(error)); } try { const output = childProcess.execSync(`npm --version`, { cwd: projectDir, encoding: "utf-8", stdio: "pipe", }); console.log(output); } catch (error) { console.error(String(error)); }
System InfoVITE+ - The Unified Toolchain for the Web Environment: Version 22.22.0 Source devEngines.runtime Source Path ~/ps/test/package.json Project Root ~/ps/test Tool Paths: node ~/.vite-plus/js_runtime/node/22.22.0/bin/node npm ~/.vite-plus/js_runtime/node/22.22.0/bin/npm npx ~/.vite-plus/js_runtime/node/22.22.0/bin/npx Package Manager: Name npm Version 11.17.0 Source devEngines.packageManager Source Path ~/ps/test/package.json Project Root ~/ps/test Bin Path ~/.vite-plus/package_manager/npm/11.17.0/npm/bin/npm VITE+ - The Unified Toolchain for the Web vp v0.2.1 Local vite-plus: vite-plus Not found Tools: vite Not found rolldown Not found vitest Not found oxfmt Not found oxlint Not found oxlint-tsgolint Not found tsdown Not found Environment: Package manager npm v11.17.0 Node.js v22.22.0 (devEngines.runtime) Used Package Managernpm Validations
Reacted by Liang Activity
MetadataMetadataAssigneesLabelsbugSomething isn't working TypeFieldsPriority None yet Effort None yet Target date None yet Start date None yet ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |