Изменяю довольно большой extension (т.е. взял полностью готовый свой и копипастой переделываю).
При билдах вызывается ошибка:
✖ 12:49:28 Build extension *.** js: 20 KB, css: 5 KB
(node:20728) UnhandledPromiseRejectionWarning: TypeError: error.message.split(...).at is not a function
at printError (/usr/lib/node_modules/@bitrix/cli/dist/bitrix.build.js:440:96)
at report (/usr/lib/node_modules/@bitrix/cli/dist/bitrix.build.js:517:5)
at buildDirectory (/usr/lib/node_modules/@bitrix/cli/dist/bitrix.build.js:974:7)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
(node:20728) 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: 1)
(node:20728) [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.
Как понять в каком конкретном файле она была? Что было подключено не так?
Изменяю довольно большой extension (т.е. взял полностью готовый свой и копипастой переделываю). При билдах вызывается ошибка:
✖ 12:49:28 Build extension *.** js: 20 KB, css: 5 KB (node:20728) UnhandledPromiseRejectionWarning: TypeError: error.message.split(...).at is not a function at printError (/usr/lib/node_modules/@bitrix/cli/dist/bitrix.build.js:440:96) at report (/usr/lib/node_modules/@bitrix/cli/dist/bitrix.build.js:517:5) at buildDirectory (/usr/lib/node_modules/@bitrix/cli/dist/bitrix.build.js:974:7) at process._tickCallback (internal/process/next_tick.js:68:7) at Function.Module.runMain (internal/modules/cjs/loader.js:834:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) (node:20728) 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: 1) (node:20728) [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.
Как понять в каком конкретном файле она была? Что было подключено не так?