Code Monkey home page Code Monkey logo

metabasecloner's Introduction

metabasecloner's People

Contributors

callawaywilson avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

abdel-bourhim

metabasecloner's Issues

UnhandledPromiseRejectionWarning: Unhandled promise rejection.

I've recently started seeing this error when cloning questions, any ideas?

Command:

node clone.js clone \
  --host metabase.mydomain.com \
  --user [email protected] \
  --type question \
  --id 1 \
  --collection 7 \
  --database 4

Output:

prompt: Metabase password:  (node:3394286) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)

Connecting to 'metabase.ideasenfoto.com'
Using X-Metabase-Session=9da9b09f-522a-4d78-8581-905fabb981e3
Cloning question id [1] to DB [4] and to collection [7]
Cloning question ID 1
(node:3394286) UnhandledPromiseRejectionWarning: Accepted
(node:3394286) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3394286) [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.

Cannot use when change default ssl port

Host enabled ssl on no default port

Connecting to 'teste.world:8080'
events.js:167
throw er; // Unhandled 'error' event
^

Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1049:34)
at TLSSocket.emit (events.js:182:13)
at TLSSocket._finishInit (_tls_wrap.js:631:8)
Emitted 'error' event at:
at RedirectableRequest. (E:\metabaseapp\metabasecloner-master\node_modules\node-rest-client\lib\node-rest-client.js:721:39)
at RedirectableRequest.emit (events.js:182:13)
at ClientRequest.eventHandlers.(anonymous function) (E:\metabaseapp\metabasecloner-master\node_modules\follow-redirects\index.js:16:24)
at ClientRequest.emit (events.js:182:13)
at TLSSocket.socketErrorListener (_http_client.js:391:9)
at TLSSocket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.