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

ng build error #176

Open
8 tasks
cokcok opened this issue Jul 31, 2024 · 1 comment
Open
8 tasks

ng build error #176

cokcok opened this issue Jul 31, 2024 · 1 comment

Comments

@cokcok
Copy link

cokcok commented Jul 31, 2024

I'm submitting a

  • Regression (a behavior that used to work and stopped working in a new release)
  • [ - ] Bug report
  • Enhancement
  • Feature request
  • Documentation issue or request

Description

  • [ -] Bug: Description of the issue you encountered_
  • Feature: Description of the feature. Cause and its Motivation_

Version Information

ionic4-auto-complete: 2.9.9
@angular/cli: 11.2.4

Browser

  • [ / ] Chrome - x.x.x
  • Mozilla Firefox - x.x.x
  • Opera - x.x.x
  • Microsoft Edge - x.x.x

NOTE: Replace x.x.x with your version information

@cokcok
Copy link
Author

cokcok commented Jul 31, 2024

PS E:\project_ionic\trace> ng build --prod --aot --outputHashing=all --base-href /ied_test/
⠙ Generating browser application bundles (phase: building)...(node:10308) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at E:\project_ionic\trace\node_modules\postcss\package.json.
Update this package.json to use a subpath pattern like "./*".
(Use node --trace-deprecation ... to show where the warning was created)
✔ Browser application bundle generation complete.

Warning: E:\project_ionic\trace\src\app\app.module.ts depends on 'angular2-moment'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: E:\project_ionic\trace\src\app\rwa01\rwa01.page.ts depends on 'moment/locale/th'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Error: src/app/trac101/trac101.page.html:92:16 - error TS2322: Type 'PlaceService' is not assignable to type 'Function | AutoCompleteService'.
Type 'PlaceService' is not assignable to type 'AutoCompleteService'.
Property 'getResults' is protected in type 'PlaceService' but public in type 'AutoCompleteService'.

92 [dataProvider]="placeSv" formControlName="place_rubber1">
~~~~~~~~~~~~

src/app/trac101/trac101.page.ts:15:16
15 templateUrl: './trac101.page.html',
~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component Trac101Page.

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

1 participant