Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make build arch-agnostic #1333

Open
fauxbytes opened this issue Sep 26, 2024 · 0 comments
Open

make build arch-agnostic #1333

fauxbytes opened this issue Sep 26, 2024 · 0 comments

Comments

@fauxbytes
Copy link

Attempting to build on windows (git-bash).

$ git rev-parse --short HEAD
e986b927
$ cd source/swap/
$ yarn compile
yarn run v1.22.22
$ hardhat compile; yarn typechain
Error HH303: Unrecognized task 'compile;'
$ cd -
$ export LINUX_CMD_DELIM=';'
$ rg -g '**/package.json' "$LINUX_CMD_DELIM"
source\batch-call\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\swap\package.json
20:    "compile": "hardhat compile; yarn typechain",

source\pool\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\wrapper\package.json
21:    "compile": "hardhat compile; yarn typechain",

source\delegate\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\registry\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\staking\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\swap-erc20\package.json
19:    "compile": "hardhat compile; yarn typechain",

Also suspect the following error is somehow arch-related (doesn't occur on linux):

$ yarn compile
yarn run v1.22.22
$ lerna run compile
lerna notice cli v7.4.2
lerna info versioning independent

 >  Lerna (powered by Nx)   Running target compile for 11 projects
    ×  @airswap/utils:compile
$ yarn clean && tsc -b
error TypeError: Cannot create property '-noemit' on string '{"-noemit":""}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant