After launching the second time ts-node-dev, the first one throws this error:
/home/user/.local/lib/node_modules/ts-node-dev/lib/index.js:81
var split = data.split('\n')
^
TypeError: Cannot read property 'split' of undefined
at ReadFileContext.callback (/home/user/.local/lib/node_modules/ts-node-dev/lib/index.js:81:26)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:420:13)
Are you strarting exactly at the same time or what? Try the latest version should be fixed.
Start one, leave it running, start the other, then crashes the first one.
I'll try the latest version, thanks
no luck, I tried with [email protected], and the first one still crashed,
this is the error:
Error reading compile request file { Error: ENOENT: no such file or directory, open '/tmp/.ts-node/compiled/12264977755469597.req'
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/tmp/.ts-node/compiled/12264977755469597.req' }
sorry I didn't post it before
Well, can not reproduce it, I can start simultaneously two tasks, no error. Do your project has some intersections?
Btw the error Error reading compile request file above should not stop the process.
Well, can not reproduce it, I can start simultaneously two tasks, no error. Do your project has some intersections?
No, I test it with a new project, maybe my node version is related
$: node --version
v8.11.1
$: npm --version
6.0.1
Most helpful comment
no luck, I tried with
[email protected], and the first one still crashed,this is the error:
sorry I didn't post it before