README instructions don't work
See original GitHub issueCurrent Behavior
I’m following the README instructions, and it seems like they’re geared towards tsdx
being an NPM script in an existing project?
$ cd ~/dev
$ yarn tsdx create my-lib
yarn run v1.13.0
error Couldn't find a package.json file in "/Users/jasonetco/dev"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I also tried yarn global add tsdx
and then running tsdx create my-lib
:
Error: /Users/jasonetco/dev/package.json: ENOENT: no such file or directory, open '/Users/jasonetco/dev/package.json'
This even happens when I run tsdx --version
.
Expected behavior
I could be misunderstanding the tool, but I’m guessing this should scaffold out the folder? Not sure why it’s trying to read an existing package.json
.
Your environment
Software | Version(s) |
---|---|
npm/Yarn | npm: 6.4.1 yarn: 1.13.0 |
Operating System | MacOS Mojave |
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
README instruction does not work for connecting · Issue #5024
Welcome to the Dolt MySQL client. · Statements must be terminated with ';'. · "exit" or "quit" (or Ctrl-D) to exit.
Read more >Writing a README - LearnHowToProgram.com
The best way to generate installation instructions is to clone your project and then walk through all the steps necessary to get the...
Read more >README content | Bitbucket Cloud - Atlassian Support
A README is a reference for other users visiting your repository. You can either add and edit your README file locally or straight...
Read more >Smart IT 20.02 Smart Reporting configuration utility does not ...
Smart IT 20.02 Smart Reporting configuration utility does not work with the readme instructions provided - Exception in thread "main" java.lang.
Read more >How to Write a Good README File for Your GitHub Project
Provide a step-by-step description of how to get the development environment set and running.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry about that! Appreciate the dogfooding!
Figured it out