[solved] pnpm being annoying on my potato

{
"0 debug pnpm:scope": {
"selected": 1
},
"1 error pnpm": {
"code": "ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND",
"err": {
"name": "Error",
"message": "No package.json (or package.yaml, or package.json5) was found in \"C:\\Code\".",
"code": "ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND",
"stack": "Error: No package.json (or package.yaml, or package.json5) was found in \"C:\\Code\".\n at readProjectManifest (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:40283:13)\n at async Object.readProjectManifestOnly (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:40287:28)\n at async Object.readProjectManifestOnly (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:40506:24)\n at async Object.handler (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:121554:24)\n at async C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:125614:20\n at async run (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:125589:34)\n at async runPnpm (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:125799:5)\n at async C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:125791:7"
}
}
}
{
"0 debug pnpm:scope": {
"selected": 1
},
"1 error pnpm": {
"code": "ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND",
"err": {
"name": "Error",
"message": "No package.json (or package.yaml, or package.json5) was found in \"C:\\Code\".",
"code": "ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND",
"stack": "Error: No package.json (or package.yaml, or package.json5) was found in \"C:\\Code\".\n at readProjectManifest (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:40283:13)\n at async Object.readProjectManifestOnly (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:40287:28)\n at async Object.readProjectManifestOnly (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:40506:24)\n at async Object.handler (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:121554:24)\n at async C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:125614:20\n at async run (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:125589:34)\n at async runPnpm (C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:125799:5)\n at async C:\\Users\\Nicolai\\.node\\corepack\\pnpm\\6.11.0\\dist\\pnpm.cjs:125791:7"
}
}
}
1 Reply
barry
barry3y ago
Anyone else ever run into this when trying to use pnpm? pnpm version 6.11.0 Seems it's powershell being annoying Works in command prompt but not powershell??? damn it Yarn works, jesus christ I have no fucking clue how i fixed it updated node + changed default console to newest version of powershell
Want results from more Discord servers?
Add your server