Title: [vite] Error when evaluating SSR module · Issue #273 · plotly/angular-plotly.js · GitHub
Open Graph Title: [vite] Error when evaluating SSR module · Issue #273 · plotly/angular-plotly.js
X Title: [vite] Error when evaluating SSR module · Issue #273 · plotly/angular-plotly.js
Description: Angular Version : 18+ Dependencies "angular-plotly.js": "^6.0.0", "plotly.js-dist-min": "^2.35.2", devDependencies "@types/plotly.js-dist-min": "^2.3.4" I am able to start the application, however getting this errror, 11:23:53 PM [vite] ...
Open Graph Description: Angular Version : 18+ Dependencies "angular-plotly.js": "^6.0.0", "plotly.js-dist-min": "^2.35.2", devDependencies "@types/plotly.js-dist-min": "^2.3.4" I am able to start the application, however ...
X Description: Angular Version : 18+ Dependencies "angular-plotly.js": "^6.0.0", "plotly.js-dist-min": "^2.35.2", devDependencies "@types/plotly.js-dist-min": &qu...
Opengraph URL: https://github.com/plotly/angular-plotly.js/issues/273
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[vite] Error when evaluating SSR module","articleBody":"**Angular Version** : 18+\r\n**Dependencies**\r\n\"angular-plotly.js\": \"^6.0.0\",\r\n\"plotly.js-dist-min\": \"^2.35.2\",\r\n\r\n**devDependencies**\r\n\"@types/plotly.js-dist-min\": \"^2.3.4\"\r\n\r\nI am able to start the application, however getting this errror,\r\n\r\n11:23:53 PM [vite] Error when evaluating SSR module /@fs/C:/Users/SomeUser/Desktop/source-code/MyAngularApp/.angular/cache/18.1.1/vite/deps_ssr/plotly__js-dist-min.js?v=c24ab8f7:\r\n|- ReferenceError: self is not defined\r\n at node_modules/plotly.js-dist-min/plotly.min.js (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\plotly__js-dist-min.js:13:7)\r\n at __require2 (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\chunk-NQ4HTGF6.js:44:50)\r\n at eval (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\plotly__js-dist-min.js:145848:16)\r\n at async instantiateModule (file:///C:/Users/SomeUser/Desktop/source-code/MyAngularApp/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:53451:5)\r\n\r\n11:23:53 PM [vite] Error when evaluating SSR module /chunk-4EVLDWLS.mjs:\r\n|- ReferenceError: self is not defined\r\n at node_modules/plotly.js-dist-min/plotly.min.js (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\plotly__js-dist-min.js:13:7)\r\n at __require2 (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\chunk-NQ4HTGF6.js:44:50)\r\n at eval (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\plotly__js-dist-min.js:145848:16)\r\n at async instantiateModule (file:///C:/Users/SomeUser/Desktop/source-code/MyAngularApp/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:53-UI\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\plotly__js-dist-min.js:13:7)\r\n at __require2 (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\chunk-NQ4HTGF6.js:44:50)\r\n at eval (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\p-UI\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\plolotly__js-dist-min.js:145848:16)\r\n at async instantiateModule (file:///C:/Users/SomeUser/Desktop/source-code/MyAngularApp/node_modul_ssr\\chunk-NQ4HTGF6.js:44:50)es/vite/dist/node/chunks/dep-C1-ZB6nQ.js:53451:5) lotly__js-dist-min.js:145848:16)\r\nERROR ReferenceError: self is not defined es/vite/dist/node/chunks/dep-C1-ZB6nQ.js:53\r\n at node_modules/plotly.js-dist-min/plotly.min.js (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\plotly__js-dist-min.js:13:7)\r\n at __require2 (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps-UI\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\plo_ssr\\chunk-NQ4HTGF6.js:44:50)\r\n at eval (C:\\Users\\SomeUser\\Desktop\\source-code\\MyAngularApp\\.angular\\cache\\18.1.1\\vite\\deps_ssr\\p_ssr\\chunk-NQ4HTGF6.js:44:50)lotly__js-dist-min.js:145848:16) lotly__js-dist-min.js:145848:16)\r\n at async instantiateModule (file:///C:/Users/SomeUser/Desktop/source-code/MyAngularApp/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:53es/vite/dist/node/chunks/dep-C1-ZB6nQ.js:53451:5)","author":{"url":"https://github.com/mahibisht","@type":"Person","name":"mahibisht"},"datePublished":"2024-09-22T18:24:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/273/angular-plotly.js/issues/273"}
| 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:fbcb5f72-23a5-57b0-f69d-cee580383b9d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E4C:2D647F:1B77DA3:25A0C33:6964C24B |
| html-safe-nonce | a1aab3300219762ed144115e88760a4c2280143adfd5e56b421b089eb7ca2a59 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTRDOjJENjQ3RjoxQjc3REEzOjI1QTBDMzM6Njk2NEMyNEIiLCJ2aXNpdG9yX2lkIjoiMzU4NTQyMjU0MjgwMjA0MzQ2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aea138cf24abc1974475780d237de391e4691a1c765f64225788d738c6441713 |
| hovercard-subject-tag | issue:2541197598 |
| 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/273/issue_layout |
| twitter:image | https://opengraph.githubassets.com/514c539a638b092b29b3695c77c3a7f0a09b43bfa9573e0f1c82a07ad296ca33/plotly/angular-plotly.js/issues/273 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/514c539a638b092b29b3695c77c3a7f0a09b43bfa9573e0f1c82a07ad296ca33/plotly/angular-plotly.js/issues/273 |
| og:image:alt | Angular Version : 18+ Dependencies "angular-plotly.js": "^6.0.0", "plotly.js-dist-min": "^2.35.2", devDependencies "@types/plotly.js-dist-min": "^2.3.4" I am able to start the application, however ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mahibisht |
| 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