Skip to content
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

Uncaught SyntaxError: Unexpected token export #241

Closed
TomaszScisloGS opened this issue Oct 25, 2016 · 3 comments
Closed

Uncaught SyntaxError: Unexpected token export #241

TomaszScisloGS opened this issue Oct 25, 2016 · 3 comments

Comments

@TomaszScisloGS
Copy link

[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

The newest version with Angular2 2.0.0 final throws an error after importing

index.js:7Uncaught SyntaxError: Unexpected token export

Apparently those exports are the problem:
export { BSModalContext, BSModalContextBuilder } from './modal-context';

@sculeb
Copy link

sculeb commented Oct 26, 2016

Check out #220 (comment)
Solved it for me.

@MrDaande
Copy link

I have the same error but on another position.
I'm using Meteor 1.4.2 with angular/[email protected] and get the following error:

Uncaught SyntaxError: Unexpected token export at collection.ts:359

bildschirmfoto 2016-10-28 um 00 14 46

This are the dependecies from my package.json

"dependencies": { "@angular/common": "2.1.2", "@angular/compiler": "2.1.2", "@angular/core": "2.1.2", "@angular/forms": "2.1.2", "@angular/http": "^2.0.0", "@angular/material": "^2.0.0-alpha.9-3", "@angular/platform-browser": "2.1.2", "@angular/platform-browser-dynamic": "2.1.2", "@angular/router": "3.1.2", "angular2": "^2.0.0-beta.17", "angular2-meteor": "0.7.0", "angular2-meteor-polyfills": "0.1.1", "angular2-meteor-tests-polyfills": "0.0.2", "angular2-modal": "^2.0.1", "core-js": "^2.4.1", "hammerjs": "^2.0.8", "meteor-node-stubs": "0.2.3", "meteor-rxjs": "0.4.0", "meteor-typings": "^1.3.0", "ng2-dnd": "^2.0.1", "reflect-metadata": "^0.1.8", "rxjs": "5.0.0-beta.12", "systemjs": "0.19.40", "zone.js": "^0.6.26" }

@shlomiassaf
Copy link
Owner

Consolidated in #244, please come help and replay there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants