Giter Club home page Giter Club logo

Comments (11)

pittst3r avatar pittst3r commented on May 23, 2024 2

@WillsonSmith Not a regression, definitely still a problem though. See #62 (comment)

from glimmer-website.

locks avatar locks commented on May 23, 2024 1

@WillsonSmith hi, did you create your project with the web component option on?

from glimmer-website.

NotGrm avatar NotGrm commented on May 23, 2024

Thanks @locks for the tipΒ !

I've just added @glimmer/web-component to my package.json and async/await is now working on my project

from glimmer-website.

dgeb avatar dgeb commented on May 23, 2024

Thanks to @migbar for documenting this via #46.

We should also be able to make this work by opting into ES2017 builds instead of transpiling down to ES5, although there are obvious compatibility tradeoffs. Regardless, we should provide the option.

from glimmer-website.

WillsonSmith avatar WillsonSmith commented on May 23, 2024

πŸ’― awesome, thanks for adding this to the docs @migbar. I think this can be closed now.

from glimmer-website.

alvincrespo avatar alvincrespo commented on May 23, 2024

I just tried this and the solution mentioned in the docs doesn't work for me. Even when going through the guide and creating a new app with the web-component flag:

ember new display-tile -b @glimmer/blueprint --web-component

Curious what does the magic here?

This is my environment FYI:

➜  display-tile git:(master) βœ— ember -v
ember-cli: 2.13.0-beta.3
node: 7.8.0
os: darwin x64
➜  display-tile git:(master) βœ—

from glimmer-website.

calderas avatar calderas commented on May 23, 2024

I'm also having this issue:

ember-cli: 2.13.0-beta.3
node: 7.9.0
os: darwin x64
"@glimmer/application": "^0.4.0",
    "@glimmer/application-pipeline": "^0.6.0-beta.2",
    "@glimmer/blueprint": "^0.1.12",
    "@glimmer/component": "^0.3.8",
    "@glimmer/resolver": "^0.3.0",
    "@glimmer/web-component": "^0.1.2",
    "broccoli-asset-rev": "^2.5.0",
    "ember-cli": "github:ember-cli/ember-cli",
    "ember-cli-inject-live-reload": "^1.6.1",
    "ember-cli-uglify": "^1.2.0",
    "typescript": "^2.2.2"

from glimmer-website.

WillsonSmith avatar WillsonSmith commented on May 23, 2024

Just tried creating a new app, and as stated above it seems this is no longer working by using the --web-component argument.

Going to reopen this, could be a regression?

from glimmer-website.

moilopez avatar moilopez commented on May 23, 2024

Same issue with me

ember-cli: 2.13.0-beta.4 node: 6.9.2 os: darwin x64

"@glimmer/application": "^0.4.0", "@glimmer/application-pipeline": "^0.6.0-beta.2", "@glimmer/blueprint": "^0.1.12", "@glimmer/component": "^0.3.8", "@glimmer/resolver": "^0.3.0", "@glimmer/web-component": "^0.1.2", "broccoli-asset-rev": "^2.5.0", "ember-cli": "github:ember-cli/ember-cli", "ember-cli-inject-live-reload": "^1.6.1", "ember-cli-uglify": "^1.2.0", "typescript": "^2.2.2"

Error Chrome: Uncaught ReferenceError: regeneratorRuntime is not defined

from glimmer-website.

mhadaily avatar mhadaily commented on May 23, 2024

I just wanna send mine, hopefully that may help.

Tried with : npm install -g [email protected]

->  Uncaught ReferenceError: regeneratorRuntime is not defined

 "devDependencies": {
        "@glimmer/application": "^0.4.0",
        "@glimmer/application-pipeline": "^0.6.0-beta.2",
        "@glimmer/blueprint": "^0.2.1",
        "@glimmer/component": "^0.3.8",
        "@glimmer/resolver": "^0.3.0",
        "broccoli-asset-rev": "^2.5.0",
        "ember-cli": "github:ember-cli/ember-cli",
        "ember-cli-inject-live-reload": "^1.6.1",
        "ember-cli-uglify": "^1.2.0",
        "typescript": "^2.3.3"
    },

from glimmer-website.

locks avatar locks commented on May 23, 2024

Instructions now at https://github.com/glimmerjs/glimmer-application-pipeline#enabling-use-of-async-await-in-components.

from glimmer-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.