Title: 'PlotlyModule' does not appear to be an NgModule class. · Issue #255 · plotly/angular-plotly.js · GitHub
Open Graph Title: 'PlotlyModule' does not appear to be an NgModule class. · Issue #255 · plotly/angular-plotly.js
X Title: 'PlotlyModule' does not appear to be an NgModule class. · Issue #255 · plotly/angular-plotly.js
Description: We are experiencing an issue when using angular-plotly.js and Angular17 saying that "'PlotlyModule' does not appear to be an NgModule class." Error error NG6002: 'PlotlyModule' does not appear to be an NgModule class. 176 PlotlyModule, ~...
Open Graph Description: We are experiencing an issue when using angular-plotly.js and Angular17 saying that "'PlotlyModule' does not appear to be an NgModule class." Error error NG6002: 'PlotlyModule' does not appear to b...
X Description: We are experiencing an issue when using angular-plotly.js and Angular17 saying that "'PlotlyModule' does not appear to be an NgModule class." Error error NG6002: 'PlotlyModule...
Opengraph URL: https://github.com/plotly/angular-plotly.js/issues/255
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'PlotlyModule' does not appear to be an NgModule class.","articleBody":"We are experiencing an issue when using angular-plotly.js and Angular17 saying that \"'PlotlyModule' does not appear to be an NgModule class.\"\r\n\r\n## Error\r\n```\r\nerror NG6002: 'PlotlyModule' does not appear to be an NgModule class.\r\n\r\n176 PlotlyModule,\r\n ~~~~~~~~~~~~\r\n\r\n node_modules/angular-plotly.js/lib/plotly.module.d.ts:1:22\r\n 1 export declare class PlotlyModule {\r\n ~~~~~~~~~~~~\r\n This likely means that the library (angular-plotly.js) which declares PlotlyModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.\r\n```\r\n\r\n## app.module.ts\r\n```\r\nimport * as PlotlyJS from 'plotly.js-dist-min';\r\nimport { PlotlyModule } from 'angular-plotly.js';\r\nPlotlyModule.plotlyjs = PlotlyJS;\r\n\r\n@NgModule({\r\n declarations: [\r\n ...,\r\n ],\r\n imports: [\r\n ...,\r\n PlotlyModule,\r\n ...,\r\n]\r\n});\r\n```\r\n\r\n## Package Details\r\n```\r\n\"@angular/animations\": \"^17.0.9\",\r\n \"@angular/cdk\": \"^16.2.13\",\r\n \"@angular/common\": \"^17.0.9\",\r\n \"@angular/compiler\": \"^17.0.9\",\r\n \"@angular/core\": \"^17.0.9\",\r\n \"@angular/forms\": \"^17.0.9\",\r\n \"@angular/material\": \"^16.2.13\",\r\n \"@angular/platform-browser\": \"^17.0.9\",\r\n @angular/platform-browser-dynamic\": \"^17.0.9\",\r\n \"@angular/router\": \"^17.0.9\",\r\n \"angular-plotly.js\": \"^4.0.4\",\r\n \"moment\": \"^2.29.4\",\r\n \"plotly.js-dist-min\": \"^2.21.0\",\r\n \"rxjs\": \"~7.5.0\",\r\n \"tslib\": \"^2.3.0\",\r\n \"zone.js\": \"~0.14.3\"\r\n```\r\n\r\nIs there something that can be done that will enable this to work?","author":{"url":"https://github.com/nbierman","@type":"Person","name":"nbierman"},"datePublished":"2024-01-18T18:16:00Z","url":"https://github.com/plotly/angular-plotly.js/issues/255"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1afe9dfd-b607-85ad-b699-0d671c63cf0c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3F2:EA09B:3468271:457DB37:6B01F929 |
| html-safe-nonce | 7a6b9f65f6b2183436a0e81d5552a8af04a6a3062c794ef2ecbb3c44ef920a81 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0YyOkVBMDlCOjM0NjgyNzE6NDU3REIzNzo2QjAxRjkyOSIsInZpc2l0b3JfaWQiOiIyMTc0OTExNTA0MjIxMDc1NzUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a51573af8f0d6226869278a817acd99ceae484706bcc3b50f3923cdc25831bd3 |
| hovercard-subject-tag | issue:2088820791 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/angular-plotly.js/255/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5aee0c91c063c44d5f99106e84be5bfdf51ea39a6f60d900f6443e9f597b13c3/plotly/angular-plotly.js/issues/255 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5aee0c91c063c44d5f99106e84be5bfdf51ea39a6f60d900f6443e9f597b13c3/plotly/angular-plotly.js/issues/255 |
| og:image:alt | We are experiencing an issue when using angular-plotly.js and Angular17 saying that "'PlotlyModule' does not appear to be an NgModule class." Error error NG6002: 'PlotlyModule' does not appear to b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nbierman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/angular-plotly.js git https://github.com/plotly/angular-plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 125262347 |
| octolytics-dimension-repository_nwo | plotly/angular-plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125262347 |
| octolytics-dimension-repository_network_root_nwo | plotly/angular-plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width