Skip to content

Instantly share code, notes, and snippets.

@dereknelson
Created January 9, 2020 23:05
Show Gist options
  • Save dereknelson/9539392f86b2dfb9e6b35542c7ba8e20 to your computer and use it in GitHub Desktop.
Save dereknelson/9539392f86b2dfb9e6b35542c7ba8e20 to your computer and use it in GitHub Desktop.
TS Server log
Info 1084 [17:40:47.123] -----------------------------------------------
Info 1084 [17:40:47.123] Open files:
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/initializationActions.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/tasksListActions.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createNetworkMiddleware.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/actionCreators.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createReducer.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/utils/getSimilarActionInQueue.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/src/Redux/OfflineRedux.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/src/Components/QuickAddTask.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.123] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.123] FileName: /Users/derek/mosaic/mosaic-mobile/src/Containers/LaunchScreen.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.124] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.124] FileName: /Users/derek/mosaic/mosaic-mobile/src/Services/Api.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.124] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.124] FileName: /Users/derek/mosaic/mosaic-mobile/src/Components/AddEditTaskModal.js ProjectRootPath: /Users/derek/mosaic/mosaic-mobile
Info 1084 [17:40:47.124] Projects: /dev/null/inferredProject1*
Info 1084 [17:40:47.124] got projects updated in background, updating diagnostics for /Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/initializationActions.js,/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js,/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/tasksListActions.js,/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createNetworkMiddleware.js,/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/actionCreators.js,/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createReducer.js,/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/utils/getSimilarActionInQueue.js,/Users/derek/mosaic/mosaic-mobile/src/Redux/OfflineRedux.js,/Users/derek/mosaic/mosaic-mobile/src/Components/QuickAddTask.js,/Users/derek/mosaic/mosaic-mobile/src/Containers/LaunchScreen.js,/Users/derek/mosaic/mosaic-mobile/src/Services/Api.js,/Users/derek/mosaic/mosaic-mobile/src/Components/AddEditTaskModal.js
Info 1085 [17:40:47.124] event:
{"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/initializationActions.js","/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/tasksListActions.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createNetworkMiddleware.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/actionCreators.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createReducer.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/utils/getSimilarActionInQueue.js","/Users/derek/mosaic/mosaic-mobile/src/Redux/OfflineRedux.js","/Users/derek/mosaic/mosaic-mobile/src/Components/QuickAddTask.js","/Users/derek/mosaic/mosaic-mobile/src/Containers/LaunchScreen.js","/Users/derek/mosaic/mosaic-mobile/src/Services/Api.js","/Users/derek/mosaic/mosaic-mobile/src/Components/AddEditTaskModal.js"]}}
Info 1086 [17:40:47.124] request:
{"seq":64,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","textChanges":[{"newText":"export function* fetchEntity(entity, apiFn, body = [], action) {\n // make the request with the payload\n const initialActionPayload = action.payload\n yield put(entity.request(initialActionPayload))\n\n // ensure we are connected\n const result = yield race({\n isConnected: call(apiFn, ...body),\n timeout: delay(2000),\n })\n\n let { isConnected, timeout } = result\n\n // if connection is null, try again\n if (!isConnected) {\n const resultTwo = yield race({\n isConnected: call(apiFn, ...body),\n timeout: delay(2000),\n })\n\n isConnected = resultTwo.isConnected\n timeout = resultTwo.timeout\n\n // if still not connected, let app know there is a lockup\n if (!isConnected) {\n isConnected = { error: 'Locked up' }\n }\n }\n\n // if connected - proceed, otherwise - fail\n let { response, error } = isConnected\n if (!error && !timeout) {\n yield put(entity.success(response, initialActionPayload))\n } else {\n if (timeout) {\n error = 'Timeout: having trouble connecting to server'\n }\n yield put(entity.failure(error))\n }\n\n return { error, response }\n}\n\nexport function* changeEntity(entity, apiFn, body = [], action) {\n","start":{"line":4,"offset":1},"end":{"line":48,"offset":1}}]},{"fileName":"/Users/derek/mosaic/mosaic-mobile/src/Services/Api.js","textChanges":[{"newText":"export const fetchTaskGroupPreferences = token => {\n","start":{"line":823,"offset":1},"end":{"line":824,"offset":1}}]}],"closedFiles":[],"openFiles":[]}}
Perf 1087 [17:40:47.124] 64::updateOpen: elapsed time (in milliseconds) 0.3026
Info 1088 [17:40:47.124] response:
{"seq":0,"type":"response","command":"updateOpen","request_seq":64,"success":true,"body":true}
Info 1089 [17:40:47.125] FileWatcher:: Triggered with /Users/derek/mosaic/mosaic-mobile/src/Components/TaskDate.js 1:: WatchInfo: /Users/derek/mosaic/mosaic-mobile/src/Components/TaskDate.js 500 Project: WatchType: Closed Script info
Info 1090 [17:40:47.125] Scheduled: /dev/null/inferredProject1*
Info 1091 [17:40:47.125] Scheduled: *ensureProjectForOpenFiles*
Info 1092 [17:40:47.125] Elapsed:: 0ms FileWatcher:: Triggered with /Users/derek/mosaic/mosaic-mobile/src/Components/TaskDate.js 1:: WatchInfo: /Users/derek/mosaic/mosaic-mobile/src/Components/TaskDate.js 500 Project: WatchType: Closed Script info
Info 1093 [17:40:47.125] FileWatcher:: Triggered with /Users/derek/mosaic/mosaic-mobile/src/Components/Styles/TaskStyles.js 1:: WatchInfo: /Users/derek/mosaic/mosaic-mobile/src/Components/Styles/TaskStyles.js 500 Project: WatchType: Closed Script info
Info 1094 [17:40:47.125] Scheduled: /dev/null/inferredProject1*, Cancelled earlier one
Info 1095 [17:40:47.125] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 1096 [17:40:47.125] Elapsed:: 0ms FileWatcher:: Triggered with /Users/derek/mosaic/mosaic-mobile/src/Components/Styles/TaskStyles.js 1:: WatchInfo: /Users/derek/mosaic/mosaic-mobile/src/Components/Styles/TaskStyles.js 500 Project: WatchType: Closed Script info
Info 1097 [17:40:47.125] request:
{"seq":65,"type":"request","command":"geterr","arguments":{"delay":0,"files":["/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","/Users/derek/mosaic/mosaic-mobile/src/Services/Api.js","/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/initializationActions.js","/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/tasksListActions.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createNetworkMiddleware.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/actionCreators.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createReducer.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/utils/getSimilarActionInQueue.js","/Users/derek/mosaic/mosaic-mobile/src/Redux/OfflineRedux.js","/Users/derek/mosaic/mosaic-mobile/src/Components/QuickAddTask.js","/Users/derek/mosaic/mosaic-mobile/src/Containers/LaunchScreen.js","/Users/derek/mosaic/mosaic-mobile/src/Components/AddEditTaskModal.js"]}}
Perf 1098 [17:40:47.125] 65::geterr: async elapsed time (in milliseconds) 0.2021
Info 1099 [17:40:47.127] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 1100 [17:40:47.219] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 9 structureChanged: true Elapsed: 92ms
Info 1101 [17:40:47.219] Different program with same set of files:: oldProgram.structureIsReused:: 1
Info 1102 [17:40:47.220] event:
{"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","diagnostics":[]}}
Info 1103 [17:40:47.246] event:
{"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","diagnostics":[]}}
Info 1104 [17:40:47.269] event:
{"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","diagnostics":[{"start":{"line":1,"offset":15},"end":{"line":1,"offset":20},"text":"'apply' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":2,"offset":1},"end":{"line":2,"offset":42},"text":"'callApi' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":105,"offset":23},"end":{"line":105,"offset":29},"text":"'cancel' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}}
Info 1105 [17:40:47.271] event:
{"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Services/Api.js","diagnostics":[]}}
Info 1106 [17:40:47.272] event:
{"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Services/Api.js","diagnostics":[]}}
Info 1107 [17:40:47.346] event:
{"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Services/Api.js","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":30},"text":"Could not find a declaration file for module 'warning'. '/Users/derek/mosaic/mosaic-mobile/node_modules/warning/warning.js' implicitly has an 'any' type.\n Try `npm install @types/warning` if it exists or add a new declaration (.d.ts) file containing `declare module 'warning';`","code":7016,"category":"suggestion"},{"start":{"line":5,"offset":7},"end":{"line":5,"offset":43},"text":"All destructured elements are unused.","code":6198,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":25,"offset":41},"end":{"line":25,"offset":49},"text":"'theToken' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":47,"offset":7},"end":{"line":47,"offset":10},"text":"'err' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":218,"offset":9},"end":{"line":218,"offset":25},"text":"All destructured elements are unused.","code":6198,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":392,"offset":3},"end":{"line":392,"offset":12},"text":"'projectId' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":612,"offset":34},"end":{"line":612,"offset":36},"text":"'id' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":757,"offset":44},"end":{"line":757,"offset":46},"text":"'id' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}}
Info 1108 [17:40:47.347] event:
{"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":65}}
Info 1109 [17:40:47.347] request:
{"seq":66,"type":"request","command":"geterr","arguments":{"delay":0,"files":["/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/initializationActions.js","/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/tasksListActions.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createNetworkMiddleware.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/actionCreators.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/redux/createReducer.js","/Users/derek/mosaic/mosaic-mobile/node_modules/react-native-offline/src/utils/getSimilarActionInQueue.js","/Users/derek/mosaic/mosaic-mobile/src/Redux/OfflineRedux.js","/Users/derek/mosaic/mosaic-mobile/src/Components/QuickAddTask.js","/Users/derek/mosaic/mosaic-mobile/src/Containers/LaunchScreen.js","/Users/derek/mosaic/mosaic-mobile/src/Services/Api.js","/Users/derek/mosaic/mosaic-mobile/src/Components/AddEditTaskModal.js"]}}
Perf 1110 [17:40:47.348] 66::geterr: async elapsed time (in milliseconds) 0.2049
Info 1111 [17:40:47.348] event:
{"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/initializationActions.js","diagnostics":[]}}
Info 1112 [17:40:47.348] event:
{"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/initializationActions.js","diagnostics":[]}}
Info 1113 [17:40:47.352] event:
{"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/initializationActions.js","diagnostics":[{"start":{"line":7,"offset":27},"end":{"line":7,"offset":35},"text":"'getState' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}}
Info 1114 [17:40:47.353] event:
{"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","diagnostics":[]}}
Info 1115 [17:40:47.354] event:
{"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","diagnostics":[]}}
Info 1116 [17:40:47.354] event:
{"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Sagas/helpers.js","diagnostics":[{"start":{"line":1,"offset":15},"end":{"line":1,"offset":20},"text":"'apply' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":2,"offset":1},"end":{"line":2,"offset":42},"text":"'callApi' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":105,"offset":23},"end":{"line":105,"offset":29},"text":"'cancel' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}}
Info 1117 [17:40:47.356] event:
{"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/tasksListActions.js","diagnostics":[]}}
Info 1118 [17:40:47.356] event:
{"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/Users/derek/mosaic/mosaic-mobile/src/Redux/Actions/tasksListActions.js","diagnostics":[]}}
Info 1119 [17:40:47.369] event:
{"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":66}}
Info 1120 [17:40:47.377] Running: /dev/null/inferredProject1*
Info 1121 [17:40:47.377] Running: *ensureProjectForOpenFiles*
Info 1122 [17:40:47.378] Structure before ensureProjectForOpenFiles:
Info 1123 [17:40:47.378] Project '/dev/null/inferredProject1*' (Inferred) 0
Info 1123 [17:40:47.378] Files (991)
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es5.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts
// ...all of node modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment