Ошибка компиляции при запуске tns preview --hmr - PullRequest
0 голосов
/ 19 мая 2019

Я установил собственный сценарий проекта и собрал код через tns preview --hmr. Работало нормально. Но внезапно я получаю сообщение об ошибке, показывающее, что количество загружаемых файлов превышает ограничение 15 МБ. Ваше приложение может не работать.

Я снова попытался установить npm. Но я получаю ту же ошибку.

когда я запускаю этот код, я получаю сообщение об ошибке.

tns preview --hmr

Webpack build done!
Start sending initial files for platform android.
Successfully sent initial files for platform android.
The files to upload exceed the maximum allowed size of 15MB. Your app might not work as expected.
The files to upload exceed the maximum allowed size of 15MB. Your app might not work as expected.
The files to upload exceed the maximum allowed size of 15MB. Your app might not work as expected.
The files to upload exceed the maximum allowed size of 15MB. Your app might not work as expected.
The files to upload exceed the maximum allowed size of 15MB. Your app might not work as expected.
Error: PubNub call failed, check status for details
    at new PubNubError (/usr/local/lib/node_modules/nativescript/node_modules/pubnub/lib/core/components/core/components/endpoint.js:8:31)
    at onResponse (/usr/local/lib/node_modules/nativescript/node_modules/pubnub/lib/core/components/core/components/endpoint.js:126:32)
    at <anonymous> (/usr/local/lib/node_modules/nativescript/node_modules/pubnub/lib/networking/modules/networking/modules/web-node.js:59:17)
    at Request.callback (/usr/local/lib/node_modules/nativescript/node_modules/superagent/lib/node/index.js:728:3)
    at RequestBase._timeoutError (/usr/local/lib/node_modules/nativescript/node_modules/superagent/lib/request-base.js:676:8)
    at Timeout.<anonymous> (/usr/local/lib/node_modules/nativescript/node_modules/superagent/lib/request-base.js:685:12)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10)
...