-
Notifications
You must be signed in to change notification settings - Fork 27
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
"yarn asbuild" failed on latest master #166
Comments
This seems to be a bigger issue with AS and I posted it here: AssemblyScript/assemblyscript#1744 |
Ok, I see How should it be tackle then, cause #168 needs to build the wasm from the latest source. Without the workaround of |
Looking into it more, this is a library so it doesn't make much sense to build from the index file. Seeing as we haven't see this error downstream I'm, I think you could just revert that commit in your #168. I just tested it locally and it will build the binary you added without the change. |
near#166 (comment) This reverts commit 13f3460.
Summary
While trying to compile from latest master branch kept getting
ERROR TS2304: Cannot find name 'null'.
Steps to reproduce
yarn asbuild
Actual Behaviour
Expected Behviour
Compile to wasm without error
Machine Info
Potential Fix
https://github.com/nearprotocol/assemblyscript-json/blob/ee138a5557a6ca63a7e3143c462f542029857ecc/assembly/JSON.ts#L252
After replacing with below, I was able to compile successfully.
The text was updated successfully, but these errors were encountered: