Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repl stopped working after 4.0.0 #487

Closed
saadataz opened this issue Dec 14, 2017 · 8 comments
Closed

Repl stopped working after 4.0.0 #487

saadataz opened this issue Dec 14, 2017 · 8 comments
Labels

Comments

@saadataz
Copy link

saadataz commented Dec 14, 2017

simply running ts-node no longer opens REPL terminal
Rolling back to 3.3.0 fixed it

@stelcheck
Copy link
Contributor

Seems to work for me. Can you specify the platform, node version you are running, and any additional contextual information that might help us figure out your issue?

@blakeembrey
Copy link
Member

Possibly the same issue as #480?

@nwayve
Copy link

nwayve commented Dec 18, 2017

I just ran across this issue today as well.

> npm i -g ts-node
+ [email protected]
> ts-node
// No REPL, just returns to the prompt
> npm r -g ts-node
> npm i -g [email protected]
+ [email protected]
> ts-node
> // in REPL
> npm --versions
{ myProject: '1.0.0',
  npm: '5.6.0',
  ares: '1.13.0',
  cldr: '32.0',
  http_parser: '2.7.0',
  icu: '60.1',
  modules: '59',
  nghttp2: '1.25.0',
  node: '9.3.0',
  openssl: '1.0.2n',
  tz: '2017c',
  unicode: '10.0',
  uv: '1.18.0',
  v8: '6.2.414.46-node.15',
  zlib: '1.2.11' }
> tsc -v
Version 2.6.2
> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.16299 N/A Build 16299

Issue #480 was closed with "Upgrade to latest ts-node" but from what I can tell, 4.0.2 is the latest as of this post. Hope this info helps.

@yuxino
Copy link

yuxino commented Dec 19, 2017

Same Issues

@stelcheck
Copy link
Contributor

@Nbsaw @nwayve Could you try to test #489 and see if this solves your issue?

@nwayve
Copy link

nwayve commented Dec 19, 2017

@stelcheck That worked for me.

> npm i -g ts-node@*
+ 4.0.2
> ts-node
// No REPL as expected

Went into /node_modules/ts-node/dist/bin.js and set detached: true to detached: process.platform !== 'win32'

> ts-node
> // REPL!

Awesome find, thank you!

@yuxino
Copy link

yuxino commented Dec 20, 2017

@stelcheck worked for me . thank !

@blakeembrey
Copy link
Member

Closing with #536.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants