GithubHelp home page GithubHelp logo

ng-pick-datetime about ngcc-validation HOT 6 CLOSED

angular avatar angular commented on May 31, 2024
ng-pick-datetime

from ngcc-validation.

Comments (6)

spitfjre avatar spitfjre commented on May 31, 2024 1

"postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points"

There was no problem in rc.3.

After further investigation this does happen with 1 more dependency that in know of (@swimlane/ngx-charts).

Compiling @swimlane/ngx-charts : module as esm5
Error: Error on worker #5: Error: Failed to compile entry-point @swimlane/ngx-charts due to compilation errors:
node_modules/@angular/common/common.d.ts(115,22): error TS-996002: Appears in the NgModule.imports of TooltipModule, but could not be resolved to an NgModule class
node_modules/@angular/common/common.d.ts(115,22): error TS-996002: Appears in the NgModule.imports of AxesModule, but could not be resolved to an NgModule class
node_modules/@angular/common/common.d.ts(115,22): error TS-996002: Appears in the NgModule.imports of ChartCommonModule, but could not be resolved to an NgModule class
node_modules/@swimlane/ngx-charts/release/esm.js(2813,5): error TS-996002: Appears in the NgModule.imports of ChartCommonModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(1062,5): error TS-996002: Appears in the NgModule.imports of ChartCommonModule, but itself has errors
node_modules/@angular/common/common.d.ts(115,22): error TS-996003: Appears in the NgModule.exports of ChartCommonModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class
node_modules/@swimlane/ngx-charts/release/esm.js(2813,5): error TS-996003: Appears in the NgModule.exports of ChartCommonModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(1062,5): error TS-996003: Appears in the NgModule.exports of ChartCommonModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of AreaChartModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of BarChartModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of BubbleChartModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of ForceDirectedGraphModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of HeatMapModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of LineChartModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of PieChartModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of PolarChartModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(13508,5): error TS-996002: Appears in the NgModule.imports of PolarChartModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(11694,5): error TS-996002: Appears in the NgModule.imports of PolarChartModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of NumberCardModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of TreeMapModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996002: Appears in the NgModule.imports of GaugeModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(13508,5): error TS-996002: Appears in the NgModule.imports of GaugeModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(9530,5): error TS-996002: Appears in the NgModule.imports of GaugeModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(4263,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(5797,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(9530,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(10176,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(10389,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(10977,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(11694,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(13537,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(13951,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(13508,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(14306,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors
node_modules/@swimlane/ngx-charts/release/esm.js(15006,5): error TS-996003: Appears in the NgModule.exports of NgxChartsModule, but itself has errors

    at ClusterWorker.compile (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/main.js:170:27)
    at Worker.<anonymous> (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/worker.js:41:42)
    at Worker.emit (events.js:210:5)
    at process.<anonymous> (internal/cluster/worker.js:30:12)
    at process.emit (events.js:210:5)
    at emit (internal/child_process.js:876:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
    at ClusterMaster.onWorkerMessage (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:158:27)
    at /home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:46:95
    at ClusterMaster.<anonymous> (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:238:57)
    at step (/home/spitfjre/Workspace/mysvg/frontend/node_modules/tslib/tslib.js:136:27)
    at Object.next (/home/spitfjre/Workspace/mysvg/frontend/node_modules/tslib/tslib.js:117:57)
    at /home/spitfjre/Workspace/mysvg/frontend/node_modules/tslib/tslib.js:110:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/home/spitfjre/Workspace/mysvg/frontend/node_modules/tslib/tslib.js:106:16)
    at EventEmitter.<anonymous> (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:232:32)
    at EventEmitter.emit (events.js:210:5)

from ngcc-validation.

mgechev avatar mgechev commented on May 31, 2024

No longer an ngcc failure.

from ngcc-validation.

mgechev avatar mgechev commented on May 31, 2024

FYI DanielYKPan/date-time-picker#636

from ngcc-validation.

spitfjre avatar spitfjre commented on May 31, 2024

With latest version rc.4 you get postinstall compilation errors:

Error: Error on worker #6: Error: Failed to compile entry-point ng-pick-datetime due to compilation errors:
node_modules/@angular/common/common.d.ts(115,22): error TS-996002: Appears in the NgModule.imports of OwlDialogModule, but could not be resolved to an NgModule class
node_modules/@angular/cdk/a11y/a11y-module.d.ts(9,22): error TS-996002: Appears in the NgModule.imports of OwlDialogModule, but could not be resolved to an NgModule class
node_modules/@angular/cdk/overlay/overlay-module.d.ts(9,22): error TS-996002: Appears in the NgModule.imports of OwlDialogModule, but could not be resolved to an NgModule class
node_modules/@angular/cdk/portal/portal-directives.d.ts(84,22): error TS-996002: Appears in the NgModule.imports of OwlDialogModule, but could not be resolved to an NgModule class
node_modules/@angular/common/common.d.ts(115,22): error TS-996002: Appears in the NgModule.imports of OwlDateTimeModule, but could not be resolved to an NgModule class
node_modules/@angular/cdk/overlay/overlay-module.d.ts(9,22): error TS-996002: Appears in the NgModule.imports of OwlDateTimeModule, but could not be resolved to an NgModule class
node_modules/ng-pick-datetime/dialog/dialog.module.js(14,5): error TS-996002: Appears in the NgModule.imports of OwlDateTimeModule, but itself has errors
node_modules/@angular/cdk/a11y/a11y-module.d.ts(9,22): error TS-996002: Appears in the NgModule.imports of OwlDateTimeModule, but could not be resolved to an NgModule class
node_modules/@angular/cdk/platform/platform-module.d.ts(8,22): error TS-996002: Appears in the NgModule.imports of NativeDateTimeModule, but could not be resolved to an NgModule class
node_modules/ng-pick-datetime/date-time/adapter/native-date-time.module.js(13,5): error TS-996002: Appears in the NgModule.imports of OwlNativeDateTimeModule, but itself has errors

    at ClusterWorker.compile (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/main.js:170:27)
    at Worker.<anonymous> (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/worker.js:41:42)
    at Worker.emit (events.js:210:5)
    at process.<anonymous> (internal/cluster/worker.js:30:12)
    at process.emit (events.js:210:5)
    at emit (internal/child_process.js:876:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
    at ClusterMaster.onWorkerMessage (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:158:27)
    at /home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:46:95
    at ClusterMaster.<anonymous> (/home/spitfjre/Workspace/mysvg/frontend/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:238:57)
    at step (/home/spitfjre/Workspace/mysvg/frontend/node_modules/tslib/tslib.js:136:27)
    at Object.next (/home/spitfjre/Workspace/mysvg/frontend/node_modules/tslib/tslib.js:117:57)
    at /home/spitfjre/Workspace/mysvg/frontend/node_modules/tslib/tslib.js:110:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/home/spitfjre/Workspace/mysvg/frontend/node_modules/tslib/tslib.js:106:16)
    at EventEmitter.<anonymous> (/home/spit

from ngcc-validation.

gkalpak avatar gkalpak commented on May 31, 2024

OOC, what does the exact postinstall script look like?
Also, are you saying this doesn't happen with rc.3 (or just you haven't tried)?

from ngcc-validation.

gkalpak avatar gkalpak commented on May 31, 2024

The originally reported ng-pick-datetime error seems to have been fixed. @spitfjre, if you are still running into problems with the latest versions of Angular and ng-pick-datetime, please open a new issue on the angular/angular repo.

from ngcc-validation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.