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

npx create-ink-app js-app fails due to missing .gitignore in /templates/_common/ #30

Closed
anddoutoi opened this issue Apr 4, 2023 · 3 comments

Comments

@anddoutoi
Copy link

anddoutoi commented Apr 4, 2023

Issue

It seems like the .gitignore file is missing in the package.

Makes the installer throw an exception and exit not copying any files to destination.

image

Possible solution

https://stackoverflow.com/a/71232660 (not tested)

@Zadag
Copy link

Zadag commented Apr 7, 2023

Im getting this error as well. @anddoutoi Did you come up with a solution?

@cthulhu-bot
Copy link

Was able to temporarily work around this by globally installing create-ink-app and creating the .gitignore file there

npm i -g create-ink-app
cd ~/.config/nvm/versions/node/v18.14.2/lib/node_modules/create-ink-app/templates/_common
touch .gitinore

@Zadag
Copy link

Zadag commented Apr 7, 2023

@cthulhu-bot That makes sense! I wound up installing globally and the copying the changes made to index in #31

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.

3 participants