-
Notifications
You must be signed in to change notification settings - Fork 189
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
Dashboard: 30 Error: (SystemJS) Unexpected token < #71
Comments
In a way, I got the project rolling. I changed the public folder systemjs.config.js
app.module.ts from the public / app folder
app.components.ts from the public / app folder
I just do not know if this is the best way ... Complete Code That's the best way? |
Hey @tiagobsbraga thanks for your detailed explanation. After even angular-cli switched to webpack I did not do tests with SystemJS anymore. But seems like quite a lot of people try to make it work with the angular2 tutorial. Maybe I should add webpack as a requirement to the README until this I have the time to get this fixed. Suggestions? |
So... I guess that we can try, do not you think? I was not too keen on new things for the web, my focus today is more on developing mobile devices natively. |
I have the same error with https://github.com/mgechev/angular-seed and angular2-token. Could you give me a solution please?. I'm trying do the following: File // Add packages (e.g. angular2-token)
let additionalPackages: ExtendPackages[] = [
{
name: 'angular2-token.service',
// Path to the package's bundle
path: 'node_modules/angular2-token/lib/angular2-token.service.js'
}
];
this.addPackagesBundles(additionalPackages); File import { Angular2TokenService } from 'angular2-token.service';
console.log(Angular2TokenService); And also have the same error:
|
Should be fixed in the latest build. Please reopen if problem still persists. |
I have this repository with the Angular Tour of Heroes project. Include Rails to be the Angular web API and now I would like to add the angular2-token to test authentications. However, when I include the angular2-token in the project it does not compile.
The error message is:
How do I proceed to configure correctly?
main.ts
app.module.ts
The text was updated successfully, but these errors were encountered: