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

Error while creating a new project #71

Open
amadeu01 opened this issue Jan 25, 2019 · 2 comments
Open

Error while creating a new project #71

amadeu01 opened this issue Jan 25, 2019 · 2 comments

Comments

@amadeu01
Copy link

Error output

πŸš€  Starting to generate project SmartAPI...
πŸ‘‰  Removing any previous temporary folder...
βœ…  Done
πŸ‘‰  Making temporary folder (/Users/Amadeu/Developer/swiftplate_temp)...
βœ…  Done
πŸ‘‰  Making a local clone of the SwiftPlate repo...
βœ…  Done
πŸ‘‰  Copying template folder...
βœ…  Done
πŸ‘‰  Removing temporary folder...
βœ…  Done
πŸ‘‰  Filling in template...
An error was encountered πŸ™
Error: Error Domain=NSCocoaErrorDomain Code=264 "The file β€œA.cpython-36.pyc” couldn’t be opened because the text encoding of its contents can’t be determined." UserInfo={NSFilePath=/Users/Amadeu/Developer/AREPL-vscode/test/manualAreplTests/__pycache__/A.cpython-36.pyc}
@Peter-Schorn
Copy link

I got the exact same error. Any idea why this is occuring or what to do to fix it?

@Peter-Schorn
Copy link

@amadeuo01 Ok I think the error was because I tried to generate the project in a folder that contained other files. Make sure you create the project in an empty directory.

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

No branches or pull requests

2 participants