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

Webpack not building using agm/core #1098

Closed
nancybarraza opened this issue Aug 8, 2017 · 4 comments
Closed

Webpack not building using agm/core #1098

nancybarraza opened this issue Aug 8, 2017 · 4 comments

Comments

@nancybarraza
Copy link

Issue description
I upgraded to Angular4 and Agm/Core from Angular2 and angular2-google-maps.
Everything was looking good, but when I want to compile with webpack, it is returning error with unexpected token on directives.

screenshot at aug 08 15-44-11

@ParadiseCircus
Copy link

Getting this problem as well

@nancybarraza
Copy link
Author

nancybarraza commented Aug 9, 2017

I already tried with angular 2.4.0, and only upgrading from angular2-google-maps to agm/core and is giving same issue.

Here is the package.json, I need a response ASAP please.

{ “name”: “MyApp”, “version”: “0.1.0", “dependencies”: { “@angular/common”: “2.4.0”, “@angular/compiler”: “2.4.0”, “@angular/core”: “2.4.0”, “@angular/forms”: “2.4.0”, “@angular/http”: “2.4.0”, “@angular/platform-browser”: “2.4.0”, “@angular/platform-browser-dynamic”: “2.4.0”, “@angular/platform-server”: “2.4.0”, “@angular/router”: “3.4.0”, “@types/jquery”: “^2.0.34”, “@types/lodash”: “4.14.47”, “@types/node”: “^6.0.42”, “@agm/core”: “^1.0.0-beta.0”, “angular2-jwt”: “^0.1.25”, “angular2-platform-node”: “~2.0.11”, “angular2-template-loader”: “0.6.0”, “angular2-universal”: “~2.0.11”, “angular2-universal-polyfills”: “~2.0.11”, “aspnet-prerendering”: “^1.0.7”, “aspnet-webpack”: “^1.0.17”, “bootstrap”: “^3.3.7”, “clean-webpack-plugin”: “0.1.13”, “copy-webpack-plugin”: “^4.0.0”, “css”: “^2.2.1”, “css-loader”: “^0.25.0”, “ej-angular2": “15.1.33”, “es6-shim”: “^0.35.1”, “event-source-polyfill”: “^0.0.7”, “expose-loader”: “^0.7.1”, “extract-text-webpack-plugin”: “^1.0.1”, “file-loader”: “^0.9.0”, “fuse.js”: “2.6.1”, “html-loader”: “^0.4.4”, “imports-loader”: “0.7.0”, “isomorphic-fetch”: “^2.2.1”, “jquery”: “^2.2.1”, “jquery-validation”: “1.16.0”, “lodash”: “4.17.4”, “moment”: “2.17.1”, “ms-signalr-client”: “2.2.5”, “node-sass”: “^3.10.1”, “preboot”: “^4.5.2”, “raw-loader”: “^0.5.1”, “rxjs”: “5.0.1”, “sass-loader”: “^4.0.2”, “script-loader”: “^0.7.0”, “simplebar”: “^2.4.3”, “style-loader”: “^0.13.1”, “syncfusion-javascript”: “15.1.37”, “to-string-loader”: “^1.1.5”, “ts-loader”: “^0.8.2”, “typescript”: “~2.1.4”, “url-loader”: “^0.5.7”, “webpack”: “^1.13.2”, “webpack-hot-middleware”: “^2.12.2”, “webpack-merge”: “^0.14.1”, “webpack-node-externals”: “^1.4.3”, “zone.js”: “^0.7.4” }, “main”: “boot-client.ts” }

@cmddavid
Copy link

Just a heads up, agm/core does not work with universal(which is in your package.json). Not saying it is related to your issue but you could look into: #1052

@stale
Copy link

stale bot commented Nov 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 13, 2018
@stale stale bot closed this as completed Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants