【问题标题】:Nativescript Vue using tns preview failingNativescript Vue 使用 tns 预览失败
【发布时间】:2020-12-04 22:19:01
【问题描述】:

扫描二维码后,我的 NS-Vue 项目使用 tns preview 突然失败,出现以下错误。

Project successfully prepared (android)
Start sending initial files for device Nexus 6P (2e6517cd-cc2c-45a8-8915-525d6e437822).
Successfully sent initial files for device Nexus 6P (2e6517cd-cc2c-45a8-8915-525d6e437822).
SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at PreviewSdkService.<anonymous> (/Users/Quokka/.nvm/versions/node/v13.9.0/lib/node_modules/nativescript/lib/services/livesync/playground/preview-sdk-service.js:100:43)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/Quokka/.nvm/versions/node/v13.9.0/lib/node_modules/nativescript/lib/services/livesync/playground/preview-sdk-service.js:4:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

我试过rm -rf node_modules 并在之后做了一个npm install 但是,它仍然不起作用。任何见解将不胜感激

【问题讨论】:

    标签: nativescript nativescript-vue


    【解决方案1】:

    NativeScript 游乐场正在进行迁移。这个问题现在应该已经解决了。

    【讨论】:

      猜你喜欢
      • 2019-04-19
      • 2020-05-19
      • 1970-01-01
      • 2019-06-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-09
      • 2017-05-27
      相关资源
      最近更新 更多