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
When running yarn build on NodeJS v16.x or v14.x getting this weird error:
lerna notice cli v4.0.0
lerna info Executing command in 8 packages: "yarn run build"
lerna info run Ran npm script 'build' in '@substrate/txwrapper-dev' in 3.1s:
rimraf /root/txwrapper-core/packages/txwrapper-dev/lib/
lerna info run Ran npm script 'build' in '@substrate/txwrapper-core' in 7.2s:
rimraf /root/txwrapper-core/packages/txwrapper-core/lib/
lerna info run Ran npm script 'build' in '@substrate/txwrapper-substrate' in 3.2s:
rimraf /root/txwrapper-core/packages/txwrapper-substrate/lib/
lerna info run Ran npm script 'build' in '@substrate/txwrapper-registry' in 5.6s:
rimraf /root/txwrapper-core/packages/txwrapper-registry/lib/
lerna info run Ran npm script 'build' in '@substrate/txwrapper-orml' in 5.6s:
rimraf /root/txwrapper-core/packages/txwrapper-orml/lib/
lerna info run Ran npm script 'build' in '@substrate/txwrapper-template' in 2.1s:
lerna info run Ran npm script 'build' in '@substrate/txwrapper-polkadot' in 5.7s:
rimraf /root/txwrapper-core/packages/txwrapper-polkadot/lib/
lerna ERR! yarn run build exited 1 in '@substrate/txwrapper-examples'
lerna ERR! yarn run build stdout:
rimraf /root/txwrapper-core/packages/txwrapper-examples/lib/
common/util.ts:37:9 - error TS2345: Argument of type '({ error, result }: { error: any; result: any; }) => any' is not assignable to parameter of type '(value: unknown) => any'.
Types of parameters '__0' and 'value' are incompatible.
Type 'unknown' is not assignable to type '{ error: any; result: any; }'.
37 .then(({ error, result }) => {
~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in common/util.ts:37
lerna ERR! yarn run build exited 1 in '@substrate/txwrapper-examples'
Any ideas how to fix this?
The text was updated successfully, but these errors were encountered:
When running
yarn build
on NodeJSv16.x
orv14.x
getting this weird error:Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: