Skip to content

Conversation

@jcottom
Copy link

@jcottom jcottom commented May 29, 2024

The README mentions a PLAYDATE_SDK environment variable where it should read PLAYDATE_SDK_PATH. This tripped me up when I tried to set up crank and crankstart and I found the original error message cryptic:

$ crank run --release --example hello_world
    Finished `release` profile [optimized] target(s) in 0.04s
Error: No such file or directory (os error 2)

With this change, it now shows:

$ crank run --release --example hello_world
    Finished `release` profile [optimized] target(s) in 0.01s
Error: Command failed: "/home/jack/Developer/PlaydateSDK/bin/pdc" "--strip" "/home/jack/repos/crankstart/target/Hello World" "/home/jack/repos/crankstart/target/Hello World.pdx"

Caused by:
    No such file or directory (os error 2)

which is a little more legible.

Copy link
Member

@boozook boozook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. But seems to there is missed import.
That's strange because it's on windows only 🤷🏻‍♂️.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants