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.

Missing ts-node-dev

See original GitHub issue

Yesterday I helped my friend @dharmaturtle locally host my blog on his Windows computer. I had him follow the steps that I list as essential, which are to execute the commands

npm i -g @codedoc/cli
codedoc install
codedoc serve

Everything seemed to work until he executed codedoc serve. I don’t have his exact error message, but it was similar to this problem that I have had before but with ts-node-dev instead of ts-node, so his error message was something like

SomePath> codedoc build

# Building ...
# Fetching project configuration ...
`ts-node-dev` is not a recognized as an internal or external command, operable program or batch file.
# Build Failed.

I don’t remember exactly, but I think we overcame this by executing

npm i -g @ts-node-dev

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dharmaturtlecommented, Dec 1, 2020

ts-node-dev and ts-node exist in that folder. I do not know if that necessarily means they’re installed.

image

0reactions
loreanvictorcommented, Jan 28, 2021

yes I think the correct version of that would be the following:

npm i -g ts-node-dev

(i.e. without the @).

ok so I’ll be closing this issue as there is a similar issue open right now. if you find any new information feel free to re-open this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command not found: ts-node-dev - Stack Overflow
You have 3 options here: Run the command from actual path: ./node_modules/.bin/ts-node-dev src/index.ts. Use npx. npx ts-node-dev src/index.
Read more >
ts-node-dev - npm
Compiles your TS app and restarts when files are modified. ... Start using ts-node-dev in your project by running `npm i ts-node-dev`.
Read more >
Wrong tsconfig.json · Issue #86 · wclr/ts-node-dev - GitHub
In order to do this for ts-node-dev I created the following command: ... 4.1.3) Missing baseUrl in compilerOptions. tsconfig-paths will be skipped Error: ......
Read more >
ts-node-dev - npm Package Health Analysis - Snyk
Looks like ts-node-dev is missing a security policy. You can connect your project's repository to Snyk to stay up to date on security...
Read more >
How to deploy a TS Node.js app in minutes - Medium
As a Fullstack developer creating new applications is always fun and exciting; designing the architecture, brainstorming, coding, etc.
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