Question

How can I import a database from a node project? I really didnt find anything about it.

2022-06-13T20:26:47.398754081Z stdout: Error: Cannot find module ‘…/…/…/…/…/dist/config/index.js’ 2022-06-13T20:26:47.398829183Z stdout: Require stack: 2022-06-13T20:26:47.398836892Z stdout: - /tmp/j1hWk7uO/database/prisma.js 2022-06-13T20:26:47.398840969Z stdout: - /tmp/j1hWk7uO/database/index.js 2022-06-13T20:26:47.398845285Z stdout: - /tmp/j1hWk7uO/index.js 2022-06-13T20:26:47.398849361Z stdout: - /nodejsAction/runner.js 2022-06-13T20:26:47.398853258Z stdout: - /nodejsAction/prelauncher.js 2022-06-13T20:26:47.398857562Z stdout: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) 2022-06-13T20:26:47.398861645Z stdout: at Function.Module._load (internal/modules/cjs/loader.js:746:27) 2022-06-13T20:26:47.39886717Z stdout: at Module.require (internal/modules/cjs/loader.js:974:19) 2022-06-13T20:26:47.398871266Z stdout: at require (internal/modules/cjs/helpers.js:101:18) 2022-06-13T20:26:47.398875734Z stdout: at Object.<anonymous> (/tmp/j1hWk7uO/database/prisma.js:8:37) 2022-06-13T20:26:47.398880263Z stdout: at Module._compile (internal/modules/cjs/loader.js:1085:14) 2022-06-13T20:26:47.398884038Z stdout: at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10) 2022-06-13T20:26:47.398888042Z stdout: at Module.load (internal/modules/cjs/loader.js:950:32) 2022-06-13T20:26:47.398892056Z stdout: at Function.Module._load (internal/modules/cjs/loader.js:790:12) 2022-06-13T20:26:47.398895951Z stdout: at Module.require (internal/modules/cjs/loader.js:974:19) { 2022-06-13T20:26:47.398901074Z stdout: code: ‘MODULE_NOT_FOUND’, 2022-06-13T20:26:47.398904866Z stdout: requireStack: [ 2022-06-13T20:26:47.398908566Z stdout: ‘/tmp/j1hWk7uO/database/prisma.js’, 2022-06-13T20:26:47.398912344Z stdout: ‘/tmp/j1hWk7uO/database/index.js’, 2022-06-13T20:26:47.398916349Z stdout: ‘/tmp/j1hWk7uO/index.js’, 2022-06-13T20:26:47.398920334Z stdout: ‘/nodejsAction/runner.js’, 2022-06-13T20:26:47.398924813Z stdout: ‘/nodejsAction/prelauncher.js’ 2022-06-13T20:26:47.398928526Z stdout: ] 2022-06-13T20:26:47.398932169Z stdout: } 2022-06-13T20:26:47.402787Z stderr: The action did not initialize or run as expected. Log data might be missing.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!