简体   繁体   中英

Broccoli error when trying to do ember tutorial

I am at the last step of this part of the ember.js tutorial. https://guides.emberjs.com/v2.14.0/tutorial/installing-addons/

I receive this error when attempting to run the ember server after adding the ember-cli-mirage addon.

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)

Any help parsing this stack? Not sure what any of this is doing at the moment, just trying to get through the tutorial.

如果不看代码,将很难为您提供帮助,但这是一个线索:SyntaxError:输入意外结束检查您是否没有丢失结束标记或简单的内容。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM