在我扫描QR码后,{-{1}}对于我的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
的操作,但仍然无法正常工作。任何见识将不胜感激
答案 0 :(得分:2)
NativeScript游乐场正在进行迁移。现在应该解决此问题。