Closed jakinyele closed 3 years ago
I tried running it:
SmartPy
's install script expects npm to be installed. I wonder if this should be mentioned somewhere, or if we should check for it explicitly.I'm seeing an error compiling for some reason. It's deep within some smartpyc stack, but here it is:
(node:235848) RangeError: Invalid count value at String.repeat (<anonymous>) at caml_str_repeat (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:103:28) at caml_convert_string_to_bytes (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:348:15) at caml_jsbytes_of_string (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:353:25) at caml_ml_output_bytes (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:5260:17) at caml_ml_output (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:5270:14) at output_string (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:9322:14) at print_endline (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:9421:7) at caml_call1 (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:247603:28) at Main (/home/mukund/src/tezos-contract/tmp-smartpy-cli/smartpyc.js:248536:9)
This happens during the
SmartPy.sh test
step on L107 while trying to construct the contract_*.tar.gz.
@yaymukund Ok, not as familiar but it seems like their installer script might be broken for Nix? Although they do have build instructions from source for NixOS here: https://gitlab.com/SmartPy/smartpy#via-nix
Check it out and let me know if there are parts of the env/nix/init
script that we can use?
closes #45