{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/ts-node/issues/690","repository_url":"https://api.github.com/repos/TypeStrong/ts-node","labels_url":"https://api.github.com/repos/TypeStrong/ts-node/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/ts-node/issues/690/comments","events_url":"https://api.github.com/repos/TypeStrong/ts-node/issues/690/events","html_url":"https://github.com/TypeStrong/ts-node/issues/690","id":362609194,"node_id":"MDU6SXNzdWUzNjI2MDkxOTQ=","number":690,"title":"ts-node executable hangs, won't enter repl","user":{"login":"whistlerbrk","id":14322,"node_id":"MDQ6VXNlcjE0MzIy","avatar_url":"https://avatars1.githubusercontent.com/u/14322?v=4","gravatar_id":"","url":"https://api.github.com/users/whistlerbrk","html_url":"https://github.com/whistlerbrk","followers_url":"https://api.github.com/users/whistlerbrk/followers","following_url":"https://api.github.com/users/whistlerbrk/following{/other_user}","gists_url":"https://api.github.com/users/whistlerbrk/gists{/gist_id}","starred_url":"https://api.github.com/users/whistlerbrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whistlerbrk/subscriptions","organizations_url":"https://api.github.com/users/whistlerbrk/orgs","repos_url":"https://api.github.com/users/whistlerbrk/repos","events_url":"https://api.github.com/users/whistlerbrk/events{/privacy}","received_events_url":"https://api.github.com/users/whistlerbrk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-21T13:10:43Z","updated_at":"2018-09-23T18:56:59Z","closed_at":null,"author_association":"NONE","body":"I never reach the repl, only `ts-node -h` works, I can't even print a version.\r\n\r\nmaybe some useful debugging information?\r\n\r\n```\r\nkshah ~ npm install -g ts-node\r\n/Users/kshah/.nvm/versions/node/v8.9.4/bin/ts-node -> /Users/kshah/.nvm/versions/node/v8.9.4/lib/node_modules/ts-node/dist/bin.js\r\n+ ts-node@7.0.1\r\nupdated 1 package in 1.427s\r\n```\r\n\r\n```\r\nkshah ~ which ts-node\r\n/Users/kshah/.nvm/versions/node/v8.9.4/bin/ts-node\r\n```\r\n\r\n```\r\nkshah ~ which npm\r\n/Users/kshah/.nvm/versions/node/v8.9.4/bin/npm\r\n```\r\n\r\n```\r\nkshah ~ npm --version\r\n6.4.1\r\nkshah ~ node --version\r\nv8.9.4\r\n```\r\n\r\nIt appears to failing here:\r\n\r\n```\r\nts.parseJsonConfigFileContent(config, ts.sys, basePath, undefined, configFileName);\r\n```\r\n\r\nwhich is a call made in `readConfig`\r\n\r\nthe arguments provided to this `parseJsonConfigFileContent` function are as follows:\r\n\r\n```\r\n{ config:\r\n   { compilerOptions:\r\n      { sourceMap: true,\r\n        inlineSourceMap: false,\r\n        inlineSources: true,\r\n        declaration: false,\r\n        noEmit: false,\r\n        outDir: '$$ts-node$$' } },\r\n  'ts.sys':\r\n   { args: [],\r\n     newLine: '\\n',\r\n     useCaseSensitiveFileNames: false,\r\n     write: [Function: write],\r\n     writeOutputIsTTY: [Function: writeOutputIsTTY],\r\n     readFile: [Function: readFile],\r\n     writeFile: [Function],\r\n     watchFile: [Function],\r\n     watchDirectory: [Function: watchDirectoryUsingFsWatch],\r\n     resolvePath: [Function: resolvePath],\r\n     fileExists: [Function: fileExists],\r\n     directoryExists: [Function: directoryExists],\r\n     createDirectory: [Function: createDirectory],\r\n     getExecutingFilePath: [Function: getExecutingFilePath],\r\n     getCurrentDirectory: [Function: getCurrentDirectory],\r\n     getDirectories: [Function: getDirectories],\r\n     getEnvironmentVariable: [Function: getEnvironmentVariable],\r\n     readDirectory: [Function: readDirectory],\r\n     getModifiedTime: [Function: getModifiedTime],\r\n     setModifiedTime: [Function: setModifiedTime],\r\n     deleteFile: [Function: deleteFile],\r\n     createHash: [Function: createMD5HashUsingNativeCrypto],\r\n     createSHA256Hash: [Function: createSHA256Hash],\r\n     getMemoryUsage: [Function: getMemoryUsage],\r\n     getFileSize: [Function: getFileSize],\r\n     exit: [Function: exit],\r\n     realpath: [Function: realpath],\r\n     debugMode: false,\r\n     tryEnableSourceMapsForHost: [Function: tryEnableSourceMapsForHost],\r\n     setTimeout: { [Function: setTimeout] [Symbol(util.promisify.custom)]: [Function] },\r\n     clearTimeout: [Function],\r\n     clearScreen: [Function: clearScreen],\r\n     setBlocking: [Function: setBlocking],\r\n     bufferFrom: [Function: bufferFrom],\r\n     base64decode: [Function: base64decode],\r\n     base64encode: [Function: base64encode] },\r\n  basePath: '/Users/kshah',\r\n  configFileName: undefined }\r\n```\r\n\r\nThat's as far as I've taken the debug. Hoping someone can point me in the right direction"},"comment":{"url":"https://api.github.com/repos/TypeStrong/ts-node/issues/comments/423839063","html_url":"https://github.com/TypeStrong/ts-node/issues/690#issuecomment-423839063","issue_url":"https://api.github.com/repos/TypeStrong/ts-node/issues/690","id":423839063,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzgzOTA2Mw==","user":{"login":"whistlerbrk","id":14322,"node_id":"MDQ6VXNlcjE0MzIy","avatar_url":"https://avatars1.githubusercontent.com/u/14322?v=4","gravatar_id":"","url":"https://api.github.com/users/whistlerbrk","html_url":"https://github.com/whistlerbrk","followers_url":"https://api.github.com/users/whistlerbrk/followers","following_url":"https://api.github.com/users/whistlerbrk/following{/other_user}","gists_url":"https://api.github.com/users/whistlerbrk/gists{/gist_id}","starred_url":"https://api.github.com/users/whistlerbrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whistlerbrk/subscriptions","organizations_url":"https://api.github.com/users/whistlerbrk/orgs","repos_url":"https://api.github.com/users/whistlerbrk/repos","events_url":"https://api.github.com/users/whistlerbrk/events{/privacy}","received_events_url":"https://api.github.com/users/whistlerbrk/received_events","type":"User","site_admin":false},"created_at":"2018-09-23T18:56:59Z","updated_at":"2018-09-23T18:56:59Z","author_association":"NONE","body":"(obviously not ideal and clearly this is an actual problem)"}}
{"actor":{"display_login":"whistlerbrk"}}