Генерация сервиса Nativescript приводит к ошибке стека вызовов - PullRequest
0 голосов
/ 28 декабря 2018

В настоящее время я занимаюсь разработкой приложения на нативном скрипте, и не было никаких проблем до определенного момента, из-за которого генерация службы приводит к очень долго выполняющейся задаче и ошибке стека вызовов в конце.Вот как я генерирую сервис:

tns generate service name=geo-coding

Я не могу выяснить, почему это происходит, а также попытался удалить node_modules, ловушки и папки платформы и переустановил его с помощью

npm install

после этого я снова получаю ту же ошибку:

RangeError: Максимальный размер стека вызовов, превышенный при t._error (/ usr / local / lib / node_modules / nativescript / node_modules / @ nativescript / schematics-executor /dist / index.js: 16: 1479) в t.error (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/scmatics-executor/dist/index.js:16:1173) в t._error (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/scmatics-executor/dist/index.js:16:1479) в t.error (/ usr / local / lib / node_modules / nativescript / node_modules / @ nativescript/scmatics-executor/dist/index.js:16:1173) в t._error (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/schors-executor/dist/index.js:16:1479)в t.error (/ usr / local / lib / node_modules / nativescript / node_modules / @ nativescript / schematics-executor / dist / index.js: 16: 1173) в t._error (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/scmatics-executor/dist/index.js:16:1479) в t.error (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/scagog-executor/dist/index.js:16:1173) в t._error (/ usr / local / lib / node_modules /nativescript/node_modules/@nativescript/scmatics-executor/dist/index.js: 16: 1479) в t.error (/ usr / local / lib / node_modules / nativescript / node_modules / @ nativescript / schematics-executor / dist / index.js: 16: 1173) в t._error (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/schors-executor/dist/index.js:16:1479) в t.error (/ usr / local/lib/node_modules/nativescript/node_modules/@nativescript/scmatics-executor/dist/index.js:16:1173) в e._trySubscribe (/ usr / local / lib / node_modules / nativescript / node_modules / @ nativescript / schematics-executor/dist/index.js:16:4751) на e.subscribe (/ usr / local / lib / node_modules / nativescript / node_modules / @ nativescript / schematics-executor / dist / index.js: 16: 4427) по адресу e.call (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/scmatics-executor/dist/index.js:30:1459) на e.subscribe (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/scagog-executor/dist/index.js:16:4299)

Я очень благодарен залюбая помощь!

...