[英]Broccoli error when trying to do ember tutorial
我現在是ember.js教程這一部分的最后一步。 https://guides.emberjs.com/v2.14.0/tutorial/installing-addons/
添加ember-cli-mirage
插件后嘗試運行ember服務器時收到此錯誤。
steven@steven-VirtualBox:~/em-test$ ember s
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
Livereload server on http://localhost:49153
'instrument' is imported from external module 'ember-data/-debug' but never used
The Broccoli Plugin: [BroccoliMergeTrees: Addon#treeFor (ember-cli-mirage - addon)] failed with:
SyntaxError: Unexpected end of input
at Object.parse (native)
at /home/steven/em-test/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:35:23
at tryCatch (/home/steven/em-test/node_modules/rsvp/dist/rsvp.js:525:12)
at invokeCallback (/home/steven/em-test/node_modules/rsvp/dist/rsvp.js:538:13)
at /home/steven/em-test/node_modules/rsvp/dist/rsvp.js:606:14
at flush (/home/steven/em-test/node_modules/rsvp/dist/rsvp.js:2415:5)
at nextTickCallbackWith0Args (node.js:436:9)
at process._tickCallback (node.js:365:13)
解析此堆棧有幫助嗎? 不確定當前正在做什么,只是試圖通過本教程來學習。
如果不看代碼,將很難為您提供幫助,但這是一個線索:SyntaxError:輸入意外結束檢查您是否沒有丟失結束標記或簡單的內容。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.