Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@swan:/home/SkriptMC/Swan# npm start
- > swan@1.0.4 start /home/SkriptMC/Swan
- > babel-node ./src/main.js
- loading : commands/basic
- loading : commands/fun
- loading : commands/info
- loading : commands/moderation
- [SkriptMc Bot] ✔️ Database "sanctions" loaded!
- (node:1614) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 162.159.133.233:443
- at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
- (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)
- (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.
- { Error: connect ETIMEDOUT 152.89.104.166:443
- at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
- errno: 'ETIMEDOUT',
- code: 'ETIMEDOUT',
- syscall: 'connect',
- address: '152.89.104.166',
- port: 443,
- config:
- { url: 'https://api.skripttools.net/v4/skript/',
- method: 'get',
- headers:
- { Accept: 'application/json, text/plain, */*',
- 'User-Agent': 'axios/0.19.0' },
- transformRequest: [ [Function: transformRequest] ],
- transformResponse: [ [Function: transformResponse] ],
- timeout: 0,
- adapter: [Function: httpAdapter],
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- validateStatus: [Function: validateStatus],
- data: undefined },
- request:
- Writable {
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- finalCalled: false,
- needDrain: false,
- ending: false,
- ended: false,
- finished: false,
- destroyed: false,
- decodeStrings: true,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: true,
- bufferProcessing: false,
- onwrite: [Function: bound onwrite],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: false,
- errorEmitted: false,
- emitClose: true,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: true,
- domain: null,
- _events:
- [Object: null prototype] {
- response: [Function: handleResponse],
- error: [Function: handleRequestError] },
- _eventsCount: 2,
- _maxListeners: undefined,
- _options:
- { protocol: 'https:',
- maxRedirects: 21,
- maxBodyLength: 10485760,
- path: '/v4/skript/',
- method: 'GET',
- headers: [Object],
- agent: undefined,
- auth: undefined,
- hostname: 'api.skripttools.net',
- port: null,
- nativeProtocols: [Object],
- pathname: '/v4/skript/' },
- _redirectCount: 0,
- _redirects: [],
- _requestBodyLength: 0,
- _requestBodyBuffers: [],
- _onNativeResponse: [Function],
- _currentRequest:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 6,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: false,
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [TLSSocket],
- connection: [TLSSocket],
- _header:
- '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',
- _onPendingData: [Function: noopPendingOutput],
- agent: [Agent],
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path: '/v4/skript/',
- _ended: false,
- res: null,
- aborted: undefined,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- _redirectable: [Circular],
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]: [Object] },
- _currentUrl: 'https://api.skripttools.net/v4/skript/' },
- response: undefined,
- isAxiosError: true,
- toJSON: [Function] }
- (node:1614) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined
- at _callee3$ (/home/SkriptMC/Swan/src/setup.js:85:23)
- at tryCatch (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:65:40)
- at Generator.invoke [as _invoke] (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:303:22)
- at Generator.prototype.(anonymous function) [as next] (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:117:21)
- at step (/home/SkriptMC/Swan/src/setup.js:244:191)
- at /home/SkriptMC/Swan/src/setup.js:244:361
- at process._tickCallback (internal/process/next_tick.js:68:7)
- (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)
- { Error: connect ETIMEDOUT 152.89.104.166:443
- at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
- errno: 'ETIMEDOUT',
- code: 'ETIMEDOUT',
- syscall: 'connect',
- address: '152.89.104.166',
- port: 443,
- config:
- { url: 'https://api.skripttools.net/v4/addons/',
- method: 'get',
- headers:
- { Accept: 'application/json, text/plain, */*',
- 'User-Agent': 'axios/0.19.0' },
- transformRequest: [ [Function: transformRequest] ],
- transformResponse: [ [Function: transformResponse] ],
- timeout: 0,
- adapter: [Function: httpAdapter],
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- validateStatus: [Function: validateStatus],
- data: undefined },
- request:
- Writable {
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- finalCalled: false,
- needDrain: false,
- ending: false,
- ended: false,
- finished: false,
- destroyed: false,
- decodeStrings: true,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: true,
- bufferProcessing: false,
- onwrite: [Function: bound onwrite],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: false,
- errorEmitted: false,
- emitClose: true,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: true,
- domain: null,
- _events:
- [Object: null prototype] {
- response: [Function: handleResponse],
- error: [Function: handleRequestError] },
- _eventsCount: 2,
- _maxListeners: undefined,
- _options:
- { protocol: 'https:',
- maxRedirects: 21,
- maxBodyLength: 10485760,
- path: '/v4/addons/',
- method: 'GET',
- headers: [Object],
- agent: undefined,
- auth: undefined,
- hostname: 'api.skripttools.net',
- port: null,
- nativeProtocols: [Object],
- pathname: '/v4/addons/' },
- _redirectCount: 0,
- _redirects: [],
- _requestBodyLength: 0,
- _requestBodyBuffers: [],
- _onNativeResponse: [Function],
- _currentRequest:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 6,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: false,
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [TLSSocket],
- connection: [TLSSocket],
- _header:
- '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',
- _onPendingData: [Function: noopPendingOutput],
- agent: [Agent],
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path: '/v4/addons/',
- _ended: false,
- res: null,
- aborted: undefined,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- _redirectable: [Circular],
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]: [Object] },
- _currentUrl: 'https://api.skripttools.net/v4/addons/' },
- response: undefined,
- isAxiosError: true,
- toJSON: [Function] }
- (node:1614) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
- at Function.keys (<anonymous>)
- at _callee2$ (/home/SkriptMC/Swan/src/setup.js:68:28)
- at tryCatch (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:65:40)
- at Generator.invoke [as _invoke] (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:303:22)
- at Generator.prototype.(anonymous function) [as next] (/home/SkriptMC/Swan/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:117:21)
- at step (/home/SkriptMC/Swan/src/setup.js:244:191)
- at /home/SkriptMC/Swan/src/setup.js:244:361
- at process._tickCallback (internal/process/next_tick.js:68:7)
- (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