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
npx scrypt-cli@latest p btccontracts
cd btccontracts
npm i
npm t
gives
> [email protected] pretest
> npm run build && npm run compile
> [email protected] prebuild
> npm run clean
> [email protected] clean
> rimraf scrypt.index.json && rimraf dist && rimraf artifacts
> [email protected] build
> tsc
> [email protected] compile
> npx scrypt-cli compile
⠴ Building TS...
/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/slice/ts55.js:42
throw module_slice_1.ModuleSlice.createError();
^
Error: Could not recognize TS format during slice!
at Object.ModuleSlice.createError (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/slice/module-slice.js:30:40)
at sliceTs55 (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/slice/ts55.js:42:46)
at sliceModule (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/slice/module-slice.js:24:33)
at getModuleSource (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/module/module-source.js:12:130)
at Object.getUnpatchedSource (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/module/ts-module.js:72:56)
at patchModule (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/patch/patch-module.js:40:43)
at getPatchedSource (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/patch/get-patched-source.js:48:52)
at getLiveModule (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/module/get-live-module.js:21:62)
at Object.<anonymous> (/Users/xhliu/projects/btc/btccontracts/node_modules/ts-patch/compiler/tsc.js:11:26)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
✖ Building TS
ERROR: Building TS failed!
Please modify your code or `tsconfig-scryptTS.json` according to the error message output during BUILDING.
The text was updated successfully, but these errors were encountered:
gives
The text was updated successfully, but these errors were encountered: