Closed sgalcheung closed 5 months ago
I'll walk through the steps to resolve this issue, summarizing the need to add a package.
pnpm add urijs --save-dev
pnpm add tslib --save-dev
pnpm add moment --save-dev
pnpm add slugify --save-dev
pnpm add tough-cookie --save-dev
pnpm add @types/tough-cookie --save-dev
pnpm add @redux-saga/core --save-dev
pnpm add debug --save-dev
pnpm add @types/debug --save-dev
pnpm add bindings --save-dev
Hello, this code repository's software dependencies (including postinstall scripts policy, peer dependencies strategy, semantic versioning resolutions, etc.) are handled by the official NodeJS package manager (NPM). This project does not officially support PNPM, or Yarn, or Bun etc. The package "lock" file defines the exact versions that the software is tested with. Sometimes even non-major semver deviations (i.e. minor or patch) can introduce significant changes in Thorium's build process or runtime due to lower-quality transitive dependencies in the Node ecosystem (or just human error, to be fair). We are a very small development team so we cannot offer support for any other build environment / dependency graph, sorry. You might want to replicate Thorium's package-lock.json to match your preferred package manager, in order to mirror Thorium's currently-tested environment. I am moving this issue to a GitHub discussion as this is an interesting topic, but this is not actionable (not supported, no fix, no resolution).
First, I use
pnpm install
to restore the node packages in this repository. Then, I run the build withnpm run build
, but I encountered some syntax issues.}