mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix: Enable source-maps on WorkflowRunnerProcess in own
mode (#4832)
This commit is contained in:
parent
8c9681e8ce
commit
9485e2f12a
|
@ -29,9 +29,7 @@ if (![14, 16, 18].includes(nodeVersionMajor)) {
|
|||
process.exit(1);
|
||||
}
|
||||
|
||||
try {
|
||||
require('source-map-support').install();
|
||||
} catch {}
|
||||
require('source-map-support').install();
|
||||
|
||||
require('@oclif/command')
|
||||
.run()
|
||||
|
|
|
@ -97,7 +97,6 @@
|
|||
"concurrently": "^5.1.0",
|
||||
"nodemon": "^2.0.2",
|
||||
"run-script-os": "^1.0.7",
|
||||
"source-map-support": "^0.5.21",
|
||||
"supertest": "^6.2.2",
|
||||
"ts-node": "^9.1.1",
|
||||
"tsc-alias": "^1.7.0",
|
||||
|
@ -164,14 +163,15 @@
|
|||
"passport": "^0.6.0",
|
||||
"passport-cookie": "^1.0.9",
|
||||
"passport-jwt": "^4.0.0",
|
||||
"picocolors": "^1.0.0",
|
||||
"pg": "^8.3.0",
|
||||
"picocolors": "^1.0.0",
|
||||
"posthog-node": "^1.3.0",
|
||||
"prom-client": "^13.1.0",
|
||||
"psl": "^1.8.0",
|
||||
"replacestream": "^4.0.3",
|
||||
"semver": "^7.3.8",
|
||||
"shelljs": "^0.8.5",
|
||||
"source-map-support": "^0.5.21",
|
||||
"sqlite3": "^5.1.2",
|
||||
"sse-channel": "^3.1.1",
|
||||
"swagger-ui-express": "^4.3.0",
|
||||
|
|
|
@ -12,7 +12,7 @@ import {
|
|||
IRun,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { ChildProcess } from 'child_process';
|
||||
import type { ChildProcess } from 'child_process';
|
||||
import { stringify } from 'flatted';
|
||||
import PCancelable from 'p-cancelable';
|
||||
import * as Db from '@/Db';
|
||||
|
|
|
@ -26,7 +26,7 @@ import { WorkflowExecute } from 'n8n-core';
|
|||
import PCancelable from 'p-cancelable';
|
||||
import type { FindOperator, Repository } from 'typeorm';
|
||||
|
||||
import { ChildProcess } from 'child_process';
|
||||
import type { ChildProcess } from 'child_process';
|
||||
import { Url } from 'url';
|
||||
|
||||
import type { Request } from 'express';
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
||||
/* eslint-disable @typescript-eslint/no-use-before-define */
|
||||
/* eslint-disable @typescript-eslint/unbound-method */
|
||||
import 'source-map-support/register';
|
||||
import { BinaryDataManager, IProcessMessage, UserSettings, WorkflowExecute } from 'n8n-core';
|
||||
|
||||
import {
|
||||
|
|
|
@ -276,6 +276,7 @@ importers:
|
|||
replacestream: 4.0.3
|
||||
semver: 7.3.8
|
||||
shelljs: 0.8.5
|
||||
source-map-support: 0.5.21
|
||||
sqlite3: 5.1.2
|
||||
sse-channel: 3.1.1
|
||||
swagger-ui-express: 4.5.0_express@4.18.2
|
||||
|
@ -322,7 +323,6 @@ importers:
|
|||
concurrently: 5.3.0
|
||||
nodemon: 2.0.20
|
||||
run-script-os: 1.1.6
|
||||
source-map-support: 0.5.21
|
||||
supertest: 6.3.0
|
||||
ts-node: 9.1.1_typescript@4.8.4
|
||||
tsc-alias: 1.7.1
|
||||
|
@ -19204,7 +19204,6 @@ packages:
|
|||
dependencies:
|
||||
buffer-from: 1.1.2
|
||||
source-map: 0.6.1
|
||||
dev: true
|
||||
|
||||
/source-map-url/0.4.1:
|
||||
resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==}
|
||||
|
|
Loading…
Reference in a new issue