On the welcome screen of DataSpell I chose to open a project with Get from Version Control to get a project from GitHub, although in the left pane I didn't choose GitHub, so it created an empty .git repository.
After that, I git cloned elsewhere the git repository or tried to clone it correctly from GitHub but in every occasion I get
Error
Cannot attach project Module name 'project name' already exists.
Trying to load module: /path/to/project name.iml
Where does DataSpell save the imported projects, to detach the empty project that I imported initially?
This has been happening to me more frequently in DataSpell 2022.3 on my M1 Apple machines. To solve the issue, I did the following:
Settings > Project: [Project Name] > Project Structure
.
Click + Add Content Root
and select the root folder of your project.
Press Apply
or OK
You should now see your project folder in the Files section of the Workspace.
File --> Invalidate caches... --> INVALIDATE AND RESTART worked for me (with no options selected for the final step).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With