Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.49 KB | None | 0 0
  1. root@swan:/home/SkriptMC/Swan# npm start
  2.  
  3. > swan@1.0.4 start /home/SkriptMC/Swan
  4. > babel-node ./src/main.js
  5.  
  6. loading : commands/basic
  7. loading : commands/fun
  8. loading : commands/info
  9. loading : commands/moderation
  10. [SkriptMc Bot] ✔️ Database "sanctions" loaded!
  11. (node:1614) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 162.159.133.233:443
  12. at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
  13. (node:1614) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
  14. (node:1614) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  15. { Error: connect ETIMEDOUT 152.89.104.166:443
  16. at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
  17. errno: 'ETIMEDOUT',
  18. code: 'ETIMEDOUT',
  19. syscall: 'connect',
  20. address: '152.89.104.166',
  21. port: 443,
  22. config:
  23. { url: 'https://api.skripttools.net/v4/skript/',
  24. method: 'get',
  25. headers:
  26. { Accept: 'application/json, text/plain, */*',
  27. 'User-Agent': 'axios/0.19.0' },
  28. transformRequest: [ [Function: transformRequest] ],
  29. transformResponse: [ [Function: transformResponse] ],
  30. timeout: 0,
  31. adapter: [Function: httpAdapter],
  32. xsrfCookieName: 'XSRF-TOKEN',
  33. xsrfHeaderName: 'X-XSRF-TOKEN',
  34. maxContentLength: -1,
  35. validateStatus: [Function: validateStatus],
  36. data: undefined },
  37. request:
  38. Writable {
  39. _writableState:
  40. WritableState {
  41. objectMode: false,
  42. highWaterMark: 16384,
  43. finalCalled: false,
  44. needDrain: false,
  45. ending: false,
  46. ended: false,
  47. finished: false,
  48. destroyed: false,
  49. decodeStrings: true,
  50. defaultEncoding: 'utf8',
  51. length: 0,
  52. writing: false,
  53. corked: 0,
  54. sync: true,
  55. bufferProcessing: false,
  56. onwrite: [Function: bound onwrite],
  57. writecb: null,
  58. writelen: 0,
  59. bufferedRequest: null,
  60. lastBufferedRequest: null,
  61. pendingcb: 0,
  62. prefinished: false,
  63. errorEmitted: false,
  64. emitClose: true,
  65. bufferedRequestCount: 0,
  66. corkedRequestsFree: [Object] },
  67. writable: true,
  68. domain: null,
  69. _events:
  70. [Object: null prototype] {
  71. response: [Function: handleResponse],
  72. error: [Function: handleRequestError] },
  73. _eventsCount: 2,
  74. _maxListeners: undefined,
  75. _options:
  76. { protocol: 'https:',
  77. maxRedirects: 21,
  78. maxBodyLength: 10485760,
  79. path: '/v4/skript/',
  80. method: 'GET',
  81. headers: [Object],
  82. agent: undefined,
  83. auth: undefined,
  84. hostname: 'api.skripttools.net',
  85. port: null,
  86. nativeProtocols: [Object],
  87. pathname: '/v4/skript/' },
  88. _redirectCount: 0,
  89. _redirects: [],
  90. _requestBodyLength: 0,
  91. _requestBodyBuffers: [],
  92. _onNativeResponse: [Function],
  93. _currentRequest:
  94. ClientRequest {
  95. domain: null,
  96. _events: [Object],
  97. _eventsCount: 6,
  98. _maxListeners: undefined,
  99. output: [],
  100. outputEncodings: [],
  101. outputCallbacks: [],
  102. outputSize: 0,
  103. writable: true,
  104. _last: true,
  105. chunkedEncoding: false,
  106. shouldKeepAlive: false,
  107. useChunkedEncodingByDefault: false,
  108. sendDate: false,
  109. _removedConnection: false,
  110. _removedContLen: false,
  111. _removedTE: false,
  112. _contentLength: 0,
  113. _hasBody: true,
  114. _trailer: '',
  115. finished: true,
  116. _headerSent: true,
  117. socket: [TLSSocket],
  118. connection: [TLSSocket],
  119. _header:
  120. 'GET /v4/skript/ HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.19.0\r\nHost: api.skripttools.net\r\nConnection: close\r\n\r\n',
  121. _onPendingData: [Function: noopPendingOutput],
  122. agent: [Agent],
  123. socketPath: undefined,
  124. timeout: undefined,
  125. method: 'GET',
  126. path: '/v4/skript/',
  127. _ended: false,
  128. res: null,
  129. aborted: undefined,
  130. timeoutCb: null,
  131. upgradeOrConnect: false,
  132. parser: null,
  133. maxHeadersCount: null,
  134. _redirectable: [Circular],
  135. [Symbol(isCorked)]: false,
  136. [Symbol(outHeadersKey)]: [Object] },
  137. _currentUrl: 'https://api.skripttools.net/v4/skript/' },
  138. response: undefined,
  139. isAxiosError: true,
  140. toJSON: [Function] }
  141. (node:1614) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined
  142. at _callee3$ (/home/SkriptMC/Swan/src/setup.js:85:23)
  143. at tryCatch (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:65:40)
  144. at Generator.invoke [as _invoke] (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:303:22)
  145. at Generator.prototype.(anonymous function) [as next] (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:117:21)
  146. at step (/home/SkriptMC/Swan/src/setup.js:244:191)
  147. at /home/SkriptMC/Swan/src/setup.js:244:361
  148. at process._tickCallback (internal/process/next_tick.js:68:7)
  149. (node:1614) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
  150. { Error: connect ETIMEDOUT 152.89.104.166:443
  151. at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
  152. errno: 'ETIMEDOUT',
  153. code: 'ETIMEDOUT',
  154. syscall: 'connect',
  155. address: '152.89.104.166',
  156. port: 443,
  157. config:
  158. { url: 'https://api.skripttools.net/v4/addons/',
  159. method: 'get',
  160. headers:
  161. { Accept: 'application/json, text/plain, */*',
  162. 'User-Agent': 'axios/0.19.0' },
  163. transformRequest: [ [Function: transformRequest] ],
  164. transformResponse: [ [Function: transformResponse] ],
  165. timeout: 0,
  166. adapter: [Function: httpAdapter],
  167. xsrfCookieName: 'XSRF-TOKEN',
  168. xsrfHeaderName: 'X-XSRF-TOKEN',
  169. maxContentLength: -1,
  170. validateStatus: [Function: validateStatus],
  171. data: undefined },
  172. request:
  173. Writable {
  174. _writableState:
  175. WritableState {
  176. objectMode: false,
  177. highWaterMark: 16384,
  178. finalCalled: false,
  179. needDrain: false,
  180. ending: false,
  181. ended: false,
  182. finished: false,
  183. destroyed: false,
  184. decodeStrings: true,
  185. defaultEncoding: 'utf8',
  186. length: 0,
  187. writing: false,
  188. corked: 0,
  189. sync: true,
  190. bufferProcessing: false,
  191. onwrite: [Function: bound onwrite],
  192. writecb: null,
  193. writelen: 0,
  194. bufferedRequest: null,
  195. lastBufferedRequest: null,
  196. pendingcb: 0,
  197. prefinished: false,
  198. errorEmitted: false,
  199. emitClose: true,
  200. bufferedRequestCount: 0,
  201. corkedRequestsFree: [Object] },
  202. writable: true,
  203. domain: null,
  204. _events:
  205. [Object: null prototype] {
  206. response: [Function: handleResponse],
  207. error: [Function: handleRequestError] },
  208. _eventsCount: 2,
  209. _maxListeners: undefined,
  210. _options:
  211. { protocol: 'https:',
  212. maxRedirects: 21,
  213. maxBodyLength: 10485760,
  214. path: '/v4/addons/',
  215. method: 'GET',
  216. headers: [Object],
  217. agent: undefined,
  218. auth: undefined,
  219. hostname: 'api.skripttools.net',
  220. port: null,
  221. nativeProtocols: [Object],
  222. pathname: '/v4/addons/' },
  223. _redirectCount: 0,
  224. _redirects: [],
  225. _requestBodyLength: 0,
  226. _requestBodyBuffers: [],
  227. _onNativeResponse: [Function],
  228. _currentRequest:
  229. ClientRequest {
  230. domain: null,
  231. _events: [Object],
  232. _eventsCount: 6,
  233. _maxListeners: undefined,
  234. output: [],
  235. outputEncodings: [],
  236. outputCallbacks: [],
  237. outputSize: 0,
  238. writable: true,
  239. _last: true,
  240. chunkedEncoding: false,
  241. shouldKeepAlive: false,
  242. useChunkedEncodingByDefault: false,
  243. sendDate: false,
  244. _removedConnection: false,
  245. _removedContLen: false,
  246. _removedTE: false,
  247. _contentLength: 0,
  248. _hasBody: true,
  249. _trailer: '',
  250. finished: true,
  251. _headerSent: true,
  252. socket: [TLSSocket],
  253. connection: [TLSSocket],
  254. _header:
  255. 'GET /v4/addons/ HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.19.0\r\nHost: api.skripttools.net\r\nConnection: close\r\n\r\n',
  256. _onPendingData: [Function: noopPendingOutput],
  257. agent: [Agent],
  258. socketPath: undefined,
  259. timeout: undefined,
  260. method: 'GET',
  261. path: '/v4/addons/',
  262. _ended: false,
  263. res: null,
  264. aborted: undefined,
  265. timeoutCb: null,
  266. upgradeOrConnect: false,
  267. parser: null,
  268. maxHeadersCount: null,
  269. _redirectable: [Circular],
  270. [Symbol(isCorked)]: false,
  271. [Symbol(outHeadersKey)]: [Object] },
  272. _currentUrl: 'https://api.skripttools.net/v4/addons/' },
  273. response: undefined,
  274. isAxiosError: true,
  275. toJSON: [Function] }
  276. (node:1614) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
  277. at Function.keys (<anonymous>)
  278. at _callee2$ (/home/SkriptMC/Swan/src/setup.js:68:28)
  279. at tryCatch (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:65:40)
  280. at Generator.invoke [as _invoke] (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:303:22)
  281. at Generator.prototype.(anonymous function) [as next] (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:117:21)
  282. at step (/home/SkriptMC/Swan/src/setup.js:244:191)
  283. at /home/SkriptMC/Swan/src/setup.js:244:361
  284. at process._tickCallback (internal/process/next_tick.js:68:7)
  285. (node:1614) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement