Skip to content
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

[Bug]cant run debug_script.move #238

Open
zq19 opened this issue Aug 8, 2022 · 2 comments
Open

[Bug]cant run debug_script.move #238

zq19 opened this issue Aug 8, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@zq19
Copy link

zq19 commented Aug 8, 2022

when i run the debug_script.move. here are two issue:
1、Error: Unable to find package manifest in '.' or in its parents. i have solved it through create a new package named manifest.
2、error[E01001]: invalid character
┌─ ./sources/debug_script.move:1:9

1 │ script {
' found when reading file. Only ASCII printable characters, tabs (\t), and line endings (\n) are permitted.

@zq19 zq19 added the bug Something isn't working label Aug 8, 2022
@zq19
Copy link
Author

zq19 commented Aug 9, 2022

i have know the reason.
reason: newline
ide:sublime、vscode
when i keep all code in one line,it worked------
script {use Std::Debug;fun debug_script(account: signer) {Debug::print(&account)}}
but the form is too diffcult to use and read,can you fix it ?

@Monkez
Copy link

Monkez commented Oct 5, 2022

I have same error, which ide should we use to pass this problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants