Error while following tutorial, Error message : ' found when reading file. Only ASCII printable characters, tabs (\t), and line endings (\n) are permitted. #1099
I am stuck and receive an error when trying to execute $ move sandbox publish src/modules
error[E01001]: invalid character
┌─ .\src\scripts\test-coin.move:1:9
│
1 │ script {
' found when reading file. Only ASCII printable characters, tabs (\t), and line endings (\n) are permitted.
Hello,
I am following the tutorial on https://diem.github.io/move/creating-coins.html
I am stuck and receive an error when trying to execute
$ move sandbox publish src/modules
Currently I am using Windows 11.
My code for "Coin.move" file
I've no idea what is the meaning of the error, any help would be much appreciated.