Title: The tool assumes that the npm packages are installed using the same OS that will run the tests · Issue #282 · browserstack/browserstack-cypress-cli · GitHub
Open Graph Title: The tool assumes that the npm packages are installed using the same OS that will run the tests · Issue #282 · browserstack/browserstack-cypress-cli
X Title: The tool assumes that the npm packages are installed using the same OS that will run the tests · Issue #282 · browserstack/browserstack-cypress-cli
Description: I've run into lots of issues with running tests with results from BrowserStack that look like this: error: Cypress could not run any of the specs in the build since an exception occurred. The stacktrace of the error is given below: -----...
Open Graph Description: I've run into lots of issues with running tests with results from BrowserStack that look like this: error: Cypress could not run any of the specs in the build since an exception occurred. The stack...
X Description: I've run into lots of issues with running tests with results from BrowserStack that look like this: error: Cypress could not run any of the specs in the build since an exception occurred. The s...
Mail addresses
support@browserstack.com
Opengraph URL: https://github.com/browserstack/browserstack-cypress-cli/issues/282
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The tool assumes that the npm packages are installed using the same OS that will run the tests","articleBody":"I've run into lots of issues with running tests with results from BrowserStack that look like this:\r\n\r\n```bash\r\n error: Cypress could not run any of the specs in the build since an exception occurred. The stacktrace of the error is given below:\r\n\r\n--------------------------------------------------------------------------------\r\nnpm\r\nWARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\\chokidar\\node_modules\\fsevents):\r\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {\"os\":\"darwin\",\"arch\":\"any\"} (current: {\"os\":\"win32\",\"arch\":\"x64\"})\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\\watchpack-chokidar2\\node_modules\\chokidar\\node_modules\\fsevents):\r\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {\"os\":\"darwin\",\"arch\":\"any\"} (current: {\"os\":\"win32\",\"arch\":\"x64\"})\r\nnpm WARN @cypress/webpack-preprocessor@5.11.1 requires a peer of @babel/core@^7.0.1 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN @cypress/webpack-preprocessor@5.11.1 requires a peer of @babel/preset-env@^7.0.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN @cypress/webpack-preprocessor@5.11.1 requires a peer of babel-loader@^8.0.2 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN e2e No description\r\nnpm WARN e2e No repository field.\r\nnpm WARN e2e No license field.\r\n\r\nnpm\r\n ERR! code EEXIST\r\nnpm ERR! path .\\packages\\xxx\\tests\\e2e\\node_modules\\.bin\\webpack\r\n\r\nnpm ERR!\r\n Refusing to delete .\\packages\\xxx\\tests\\e2e\\node_modules\\.bin\\webpack: is outside .\\packages\\xxx\\tests\\e2e\\node_modules\\webpack and not a link\r\nnpm ERR! File exists: .\\packages\\xxx\\tests\\e2e\\node_modules\\.bin\\webpack\r\nnpm\r\nERR! Move it away, and try again.\r\n```\r\n\r\nI suspect that this might be happening because I build the test package using a Docker container on Linux, but the machine running the tests uses Windows.\r\nUsing cached packages for one OS and then trying to unzip them onto another OS is not going to work a lot of the time. I don't think the tool should be attempting to do this, or there should be some kind of opt-out.","author":{"url":"https://github.com/bingnz","@type":"Person","name":"bingnz"},"datePublished":"2022-03-14T12:31:08Z","url":"https://github.com/browserstack/browserstack-cypress-cli/issues/282"}
| 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:913afdc1-f778-7f3a-7960-53d49179bc7e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A430:BACBA:17A9A85:20CAF5E:6B043789 |
| html-safe-nonce | 30845cf9ac78b0669726e13019e31b09aea67615c98d613d22feff47fdf0fefe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDMwOkJBQ0JBOjE3QTlBODU6MjBDQUY1RTo2QjA0Mzc4OSIsInZpc2l0b3JfaWQiOiI0OTM1NjczNzE3MTAwNjU2NTIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b3ea8e6d42b139b72061996accf97363a272a9d1f7139352b7a82a03753decd0 |
| hovercard-subject-tag | issue:1168311081 |
| 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/browserstack/browserstack-cypress-cli/282/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4c574b6532c035b7a548e3ccbe9dbebad8bb7af214babdc15d0f35c909643fd4/browserstack/browserstack-cypress-cli/issues/282 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4c574b6532c035b7a548e3ccbe9dbebad8bb7af214babdc15d0f35c909643fd4/browserstack/browserstack-cypress-cli/issues/282 |
| og:image:alt | I've run into lots of issues with running tests with results from BrowserStack that look like this: error: Cypress could not run any of the specs in the build since an exception occurred. The stack... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bingnz |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/browserstack-cypress-cli git https://github.com/browserstack/browserstack-cypress-cli.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 242935045 |
| octolytics-dimension-repository_nwo | browserstack/browserstack-cypress-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 242935045 |
| octolytics-dimension-repository_network_root_nwo | browserstack/browserstack-cypress-cli |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width