generated from nhcarrigan/template
Compare commits
2 Commits
bc88bbc5e3
...
efac4cf32b
| Author | SHA1 | Date | |
|---|---|---|---|
|
efac4cf32b
|
|||
|
cf98d329b0
|
@@ -119,7 +119,7 @@ const runPnpmInstall = async(
|
||||
/* v8 ignore stop -- @preserve */
|
||||
/* eslint-enable capitalized-comments -- Re-enable rule */
|
||||
try {
|
||||
await execAsync(`${pnpmPath} install --no-frozen-lockfile`, {
|
||||
await execAsync(`${pnpmPath} install --no-frozen-lockfile --strict-peer-dependencies=false`, {
|
||||
cwd: repoPath,
|
||||
env: pnpmEnvironment,
|
||||
});
|
||||
@@ -127,14 +127,6 @@ const runPnpmInstall = async(
|
||||
/* eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown, cast needed to access stderr/stdout */
|
||||
const details = pnpmError as Error & { stderr?: string; stdout?: string };
|
||||
|
||||
// TEMPORARY DEBUG - print full error details to console
|
||||
console.log("=== PNPM ERROR DEBUG ===");
|
||||
console.log("stderr:", details.stderr);
|
||||
console.log("stdout:", details.stdout);
|
||||
console.log("message:", details.message);
|
||||
console.log("full error:", pnpmError);
|
||||
console.log("=== END DEBUG ===");
|
||||
|
||||
/* eslint-disable capitalized-comments -- v8 coverage requires lowercase */
|
||||
/* v8 ignore next 5 -- @preserve */
|
||||
/* eslint-enable capitalized-comments -- Re-enable rule */
|
||||
|
||||
+2
-11
@@ -4,17 +4,8 @@
|
||||
* @author Naomi Carrigan
|
||||
*/
|
||||
|
||||
// import { Logger } from "@nhcarrigan/logger";
|
||||
import { Logger } from "@nhcarrigan/logger";
|
||||
|
||||
// const logger = new Logger("Minori", process.env.LOG_TOKEN ?? "");
|
||||
|
||||
const logger = {
|
||||
error: (message: string) => {
|
||||
console.error(message);
|
||||
},
|
||||
log: (level: string, message: string) => {
|
||||
console.log(`${level}: ${message}`);
|
||||
},
|
||||
};
|
||||
const logger = new Logger("Minori", process.env.LOG_TOKEN ?? "");
|
||||
|
||||
export { logger };
|
||||
|
||||
Reference in New Issue
Block a user