Closed NeckbeardThePirate closed 1 day ago
Im currently not able to get it up and running with pnpm or yarn. pnpm start
yields:
C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23284
throw new UsageError(`This project is configured to use ${result.spec.name} because ${result.target} has a "packageManager" field`);
^
UsageError: This project is configured to use pnpm because C:\Users\JudahHellandSr\Projects\blvrs-sword\believers-sword-next\package.json has a "packageManager" field
at Engine.findProjectSpec (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23284:21)
at async Engine.executePackageManagerRequest (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23314:24)
at async Object.runMain (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:24007:5) {
clipanion: { type: 'usage' }
}
Node.js v22.3.0
ELIFECYCLE Command failed with exit code 1.
and yarn start
yields:
throw new UsageError(`This project is configured to use ${result.spec.name} because ${result.target} has a "packageManager" field`);
^
UsageError: This project is configured to use pnpm because C:\Users\JudahHellandSr\Projects\blvrs-sword\believers-sword-next\package.json has a "packageManager" field
at Engine.findProjectSpec (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23284:21)
at async Engine.executePackageManagerRequest (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23314:24)
at async Object.runMain (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:24007:5) {
clipanion: { type: 'usage' }
}
Node.js v22.3.0
Im not familiar with yarn or pnpm so that's probably part of the problem...
I was trying to get this set up in development (hopefully contribute) and your wiki says to use yarn to start in dev but i got a corepack error when i tried to run it that way and when i checked the packageManager field in the package.json was indeed set to pnpm... did that change and the wiki just didn't get updated? am i an idiot? answers to all the questions, appreciated :) - God Bless