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.

README instructions don't work

See original GitHub issue

Current 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:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jaredpalmercommented, Jan 26, 2019

Sorry about that! Appreciate the dogfooding!

1reaction
jaredpalmercommented, Jan 26, 2019

Figured it out

Read more comments on GitHub >

github_iconTop 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 >

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