question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should create in named folder, not current folder

See original GitHub issue

create-react-app (and most other generators) will require a folder to generate into so you don’t accidentally fill your root directory with a bunch of files. Should be npx create-ink-app my-app to create the app at the directory my-app

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
riongullcommented, Jan 1, 2020

Agreed, and if the developer wants to scaffold the app in the current working directory (after mkdir my-app && cd my-app for example) they still can by calling npx create-ink-app . (the . referring to my-app in this case).

0reactions
LitoMorecommented, Sep 19, 2020

@vadimdemedes OK. I have another active PR for you https://github.com/vadimdemedes/create-ink-app/pull/5 .

For less conflict in PR, we can solve #5 first.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to create a React app directly in the current folder
The current directory must: contain only URL friendly characters; no capital letters. E.g., current directory cannot be named "React App". It ...
Read more >
Provide a way to generate a new project in an existing directory
Work around i've found is to be one level higher then the directory you want. Ex: -develop (here) -- project_folder (where you want...
Read more >
Class Folder | Apps Script - Google Developers
Method Return type Brief description getAccess(email) Permission Gets the permission granted to the given user. getAccess(user) Permission Gets the permission granted to the given user. getDateCreated()...
Read more >
Working With Files and Directories – The Unix Shell
Solution. No. While this would create a file with the correct name, the incorrectly named file still exists in the directory and would...
Read more >
Get current folder name by a DOS command? - Super User
I like the link and the suggestion but when i put that in a batch file I get an immediate closing of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found