0

I try to install ts-node-dev:

npm i ts-node-dev --save-dev

And get the error:

ENOENT: no such file or directory, chmod '/node_modules/ts-node-dev/lib\bin.js'

mr_blond
  • 1,586
  • 2
  • 20
  • 52

1 Answers1

1

Refer to open issues #224 and #235 in the GitHub repo.

The current suggested workarounds are either;

  1. Updating npm to the latest version.

  2. Or, install the earlier version 1.0.0-pre.65.

    So you may want to try running the following command in your project directory:

    npm un -D ts-node-dev && npm i -D ts-node-dev@1.0.0-pre.65
    
RobC
  • 22,977
  • 20
  • 73
  • 80