Closed matthiasgeihs closed 10 months ago
was trying to build and test.
- had yarn v3, but needed v1.
- testing requires
circom
suggesting to add notes on this to the README.
Great notes, thanks for the PR! I'm confused though since I have the latest yarn and it works fine. What was the yarn error you were getting?
Which version are you on?
When I use v3.7.0
, I get the following two errors:
# This file contains the result of Yarn building a package (@zk-email/zk-regex@workspace:.)
# Script name: install
Unknown Syntax Error: Command not found; did you mean:
$ yarn workspaces list [--since] [-R,--recursive] [--no-private] [-v,--verbose] [--json]
While running workspaces -pt run install
# This file contains the result of Yarn building a package (@zk-email/zk-regex-compiler@workspace:packages/compiler)
# Script name: install
This is not the tsc command you are looking for
To get access to the TypeScript compiler, tsc, from the command line either:
- Use npm install typescript to first add TypeScript to your project before using npx
- Use yarn to avoid accidentally running code from un-installed packages
> @zk-email/zk-regex-compiler@1.0.8 build-release
> npx tsc && npm run build -- --release
This is not the tsc command you are looking for
To get access to the TypeScript compiler, tsc, from the command line either:
- Use npm install typescript to first add TypeScript to your project before using npx
- Use yarn to avoid accidentally running code from un-installed packages
npm ERR! Lifecycle script `build-release` failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @zk-email/zk-regex-compiler@1.0.8
npm ERR! at location: [...]/zk-regex/packages/compiler
Once I do yarn set version classic
(which sets v1.22.19
), things are working fine.
Good catch, I was also on yarn classic. I added yarn 1 to the package.json engines as well.
was trying to build and test.
circom
suggesting to add notes on this to the README.