angular-google-place icon indicating copy to clipboard operation
angular-google-place copied to clipboard

ERROR in Maximum callstack size exceeded when building in production mode in Angular 5.2.9

Open phillips-tech opened this issue 6 years ago • 9 comments

I'm submitting a...


[x] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/psykolm22/angular-google-place/blob/master/CONTRIBUTING.md#question

Current behavior

ng build --aot fails with "ERROR in Maximum call stack size exceeded" after npm install angular-google-place and add import {AngularGooglePlaceModule} from 'angular-google-place'; to app.module.ts of brand new Angular app.

Expected behavior

aot build should be successful?

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Angular Google place version : 0.0.3

output from ng -v:

Angular CLI: 1.7.4
Node: 8.10.0
OS: win32 x64
Angular: 5.2.9
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic, router

@angular/cli: 1.7.4
@angular/material: 5.2.4
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.4.2
webpack: 3.11.0

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

phillips-tech avatar Apr 10 '18 19:04 phillips-tech

We're having the same issue.

Node: 6.10.3
OS: darwin x64
Angular: 5.2.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

@angular/cdk: 5.2.5
@angular/cli: 1.7.4
@angular/material: 5.2.5
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.4.2
webpack: 3.11.0```

clarkmclean avatar Jun 05 '18 23:06 clarkmclean

Same Issue

Angular CLI: 1.7.4
Node: 9.10.1
OS: linux x64
Angular: 5.1.2
... animations, common, compiler, core, forms, http
... platform-browser, platform-browser-dynamic, platform-server
... router

@angular/cdk: 5.2.5
@angular/cli: 1.7.4
@angular/compiler-cli: 5.2.11
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.9.2
webpack: 3.11.0

nikhil271995 avatar Jun 25 '18 10:06 nikhil271995

I am also having the same issue.

image

nsksaisaravana avatar Jun 28 '18 06:06 nsksaisaravana

Any one solved this issue?

kumaresantechin avatar Jul 04 '18 15:07 kumaresantechin

+1

tdubuffet avatar Jul 26 '18 14:07 tdubuffet

+1

nyahyaoui avatar Aug 13 '18 16:08 nyahyaoui

+1

kublaios avatar Aug 15 '18 06:08 kublaios

I have -temporarily- worked this around by using this solution: https://github.com/psykolm22/angular-google-place/issues/29#issuecomment-361197080

kublaios avatar Aug 15 '18 07:08 kublaios

+1

MattStrybis avatar Oct 16 '18 08:10 MattStrybis