Skip to content

Unexpected token '?' #11

@jrock2004

Description

@jrock2004

Just installed your addon, and now when I run the ember app and visit localhost:4200 if it does build, I get the following

/var/folders/ml/v_kkd18n5tx7kqd73pwxszq8kgd__9/T/broccoli-14454EqySJH9Y5yYh/out-497-broccoli_merge_trees/assets/vendor.js:110196
      return this.args.language ?? 'markup';
                                 ^

SyntaxError: Unexpected token '?'
    at new Script (vm.js:88:7)
    at VMSandbox.eval (/Users/john.costanzo/Development/website/node_modules/fastboot/src/vm-sandbox.js:13:22)
    at /Users/john.costanzo/Development/website/node_modules/fastboot/src/ember-app.js:190:15
    at Array.forEach (<anonymous>)
    at EmberApp.loadAppFiles (/Users/john.costanzo/Development/website/node_modules/fastboot/src/ember-app.js:187:21)
    at EmberApp.retrieveSandboxedApp (/Users/john.costanzo/Development/website/node_modules/fastboot/src/ember-app.js:235:10)
    at new EmberApp (/Users/john.costanzo/Development/website/node_modules/fastboot/src/ember-app.js:61:21)
    at FastBoot._buildEmberApp (/Users/john.costanzo/Development/website/node_modules/fastboot/src/index.js:114:17)
    at new FastBoot (/Users/john.costanzo/Development/website/node_modules/fastboot/src/index.js:52:10)
    at /Users/john.costanzo/Development/website/node_modules/ember-cli-fastboot/index.js:335:29

If I remove this addon, remove node modules and redo npm install and start the app, it runs just fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions