Broken tutorial macos
Closed this issue · 1 comments
madroneropaulo commented
I'm following this tutorial. I'm choosing the js/ts contract option.
https://docs.near.org/develop/quickstart-guide
so a few things:
- the console shows different options than the tutorial. Instead of
npm start
it showsnpm run test
- the script
start
doesn't exist in the package.json so I follow the console instructions. - I'm getting an error
Uncaught exception in ../build/hello_near.wasm
/Users/user/projects/hello-near/build/hello_near.wasm:1
SyntaxError: Invalid or unexpected token
› SyntaxError: Invalid or unexpected token
› require.extensions.<computed> (node_modules/ts-node/src/index.ts:1608:43)
gagdiez commented
Thanks for reporting, the tutorial was superseded by: https://docs.near.org/develop/contracts/quickstart