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
Hi Team, I am adding features to an existing NEAR smart contract written in Typescript. I am able to install the packages successfully. But when I try to build the contract I am getting the below error.
npm run build
> [email protected] build
> npm run build:release
> [email protected] build:release
> npx asc assembly/index.ts --target release --runtime stub
ERROR TS2322: Type '~lib/string/String | null' is not assignable to type '~lib/string/String'.
encoder.setString(name, value);
~~~~~
in ~lib/near-sdk-bindgen/index.ts(125,31)
FAILURE 1 compile error(s)
Here is the details of the project
Repo Link
Node Version: v20.17.0
NPM version: 10.8.2
Dependencies used:
Hi Team, I am adding features to an existing NEAR smart contract written in Typescript. I am able to install the packages successfully. But when I try to build the contract I am getting the below error.
Here is the details of the project
Repo Link
Node Version: v20.17.0
NPM version: 10.8.2
Dependencies used:
The text was updated successfully, but these errors were encountered: