Title: Angular 19 specs won't run · Issue #278 · plotly/angular-plotly.js · GitHub
Open Graph Title: Angular 19 specs won't run · Issue #278 · plotly/angular-plotly.js
X Title: Angular 19 specs won't run · Issue #278 · plotly/angular-plotly.js
Description: When using this library in an Angular 19 application, I'm having an issue running my test suite. None of the tests run due to the following: ✔ Browser application bundle generation complete. ./node_modules/plotly.js-dist-min/plotly.min.j...
Open Graph Description: When using this library in an Angular 19 application, I'm having an issue running my test suite. None of the tests run due to the following: ✔ Browser application bundle generation complete. ./node...
X Description: When using this library in an Angular 19 application, I'm having an issue running my test suite. None of the tests run due to the following: ✔ Browser application bundle generation complete. ./...
Opengraph URL: https://github.com/plotly/angular-plotly.js/issues/278
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular 19 specs won't run","articleBody":"When using this library in an Angular 19 application, I'm having an issue running my test suite. None of the tests run due to the following:\n\n``` shell\n✔ Browser application bundle generation complete.\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-array' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-collection' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-dispatch' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-geo' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-path' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-quadtree' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-shape' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-time' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-timer' in '.../node_modules/plotly.js-dist-min'\n\n./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'elementary-circuits-directed-graph' in '.../node_modules/plotly.js-dist-min'\n```\n\nI'm not sure how to diagnose this and the plotly.js github doesn't show any issues like this in their repository. Could I get some help getting pointed in the right direction on diagnosing the issue here and overcoming it? \n\nFor what it is worth, the plots work great when serving the application, so I'm hopeful that there is something I need to do to get my specs running again. ","author":{"url":"https://github.com/jakehockey10","@type":"Person","name":"jakehockey10"},"datePublished":"2025-02-07T05:26:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/278/angular-plotly.js/issues/278"}
| 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:e9dc486f-6a0d-a77a-1ae9-c6e89ba59186 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A442:AD745:21B221A:2DDAB32:6964C608 |
| html-safe-nonce | 828679d6e4ed4e80e096fb8dea7ffb8743a6d42a3e81320d2492057fd0e1380c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDQyOkFENzQ1OjIxQjIyMUE6MkREQUIzMjo2OTY0QzYwOCIsInZpc2l0b3JfaWQiOiIzOTgwNTg3Njg3NTQ0NjY5NzA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | aae5ec5582aaf07763fa7b52f14ade20070d9243df7b8502012aab165fe6e072 |
| hovercard-subject-tag | issue:2837268856 |
| 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/278/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b58767ff79c38f64c9428482a4082bda2ced7d44c535e44868dce577ad74bcb4/plotly/angular-plotly.js/issues/278 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b58767ff79c38f64c9428482a4082bda2ced7d44c535e44868dce577ad74bcb4/plotly/angular-plotly.js/issues/278 |
| og:image:alt | When using this library in an Angular 19 application, I'm having an issue running my test suite. None of the tests run due to the following: ✔ Browser application bundle generation complete. ./node... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakehockey10 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 21df671ce2c9f1a16940ccbd3af6cb4f3f12a856929ca7eb1b4aea8e384ea442 |
| 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 | 5707c685ac172d50a0bdd7533dde4f8aabcf8eef |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width