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: Trying to copy from a source that does not exist #21

Closed
ericglau opened this issue May 16, 2022 · 3 comments · Fixed by #22
Closed

Error: Trying to copy from a source that does not exist #21

ericglau opened this issue May 16, 2022 · 3 comments · Fixed by #22

Comments

@ericglau
Copy link
Contributor

Installed the package using npm. With any version of the package, after going through the options, the following error occurs:

Error starknet 

Trying to copy from a source that does not exist: /Users/<username>/.nvm/versions/node/v16.13.1/lib/node_modules/generator-starknet/generators/app/templates/.gitignore

This looks like a packaging issue for the .gitignore file in the template. The file appears as .npmignore rather than .gitignore in the node modules.

Possible solutions may be to do something with .npmignore or just change the template file name to something else, then change it to .gitignore while generating the actual project.

@AbdelStark
Copy link
Contributor

Nice catch Eric. Would be cool if you could submit a PR to fix, either solution are good.

@ericglau
Copy link
Contributor Author

ericglau commented May 16, 2022

@abdelhamidbakhta Any plans to release a new version in the near term? Since otherwise this package doesn't work when installed through npm, it only works with yarn at the moment. Thanks!

@AbdelStark
Copy link
Contributor

@abdelhamidbakhta Any plans to release a new version in the near term? Since otherwise this package doesn't work when installed through npm, it only works with yarn at the moment. Thanks!

I released 0.1.5 version. Let me know if you have any isssues with it

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 a pull request may close this issue.

2 participants