-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError: ember-data-factory-guy/scenario.js: Unexpected token (6:21) #278
Comments
interesting .. I just moved the ember-cli-babel package and moved it to dependencies, so something about the new babel package or ?? |
sorry, no time today... |
i do think import * only works in the outer context... destructuring assignments and a wildcard feels weird, but can't confirm. |
see the second-to-last example: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import |
seems like I should be able to to this then .. what looks off?
import FactoryGuy, * as fgMethods from 'ember-data-factory-guy';since the docs are saying =>import defaultMember, * as name from "module-name";
On Wednesday, March 22, 2017 6:37 PM, Jacob Frautschi <notifications@github.com> wrote:
see the second-to-last example: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
oh weird... the can you build an ember project with ember-data-factory-guy 2.12.1? is it possible that having different ember-cli-version's in different dependencies makes things weird? |
i can tell you that with my project
|
fixed |
since upgrading to 2.12.1 building my app raises an error:
so something to do with the import statement? doesn't happen with 2.12.0.
The text was updated successfully, but these errors were encountered: