You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the repo, checked out commit 4ad0998 (latest release), then ran yarn install followed by yarn build.
I got the following error:
yarn run v1.22.10
$ run-s build:*
$ yarn workspace @liquity/dev-frontend build
$ run-s build:*
$ node scripts/set-version.js
$ react-scripts build
(node:81424) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/kian/Documents/eth/liquity/liquity/node_modules/postcss-safe-parser/node_modules/postcss/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
Creating an optimized production build...
Failed to compile.
../lib-ethers/src/ReadableEthersLiquity.ts 42:0
Module parse failed: The keyword 'enum' is reserved (42:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const BETA = Decimal.from(2);
|
> enum BackendTroveStatus {
| nonExistent,
| active,
I am using node v16.7.0, yarn 1.22.10 on ARM MacOS 11.5.2.
The text was updated successfully, but these errors were encountered:
I cloned the repo, checked out commit 4ad0998 (latest release), then ran
yarn install
followed byyarn build
.I got the following error:
I am using node v16.7.0, yarn 1.22.10 on ARM MacOS 11.5.2.
The text was updated successfully, but these errors were encountered: