Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser tests failing #2231

Closed
dyladan opened this issue May 26, 2021 · 5 comments · Fixed by #2234
Closed

Browser tests failing #2231

dyladan opened this issue May 26, 2021 · 5 comments · Fixed by #2234

Comments

@dyladan
Copy link
Member

dyladan commented May 26, 2021

Browser tests seem to be failing on OSX hosts. Can people please comment below if they are able to run the browser tests and what operating system they're using?

@seemk
Copy link
Contributor

seemk commented May 26, 2021

Works on Linux (lubuntu 20.04)

@vmarchaud
Copy link
Member

Works with ubuntu 20.04, node v14.6.1, karma 5.2.3 and running yarn run test:browser on @opentelemetry/core package

@vreynolds
Copy link
Contributor

Failing on osx 11.3.1, node 15.12.0, karma 5.3.2

lerna ERR! npm run test:browser stderr:
webpack was not included as a framework in karma configuration, setting this automatically...
karma-webpack does not currently support customized filenames via
webpack output.filename, if this is something you need consider opening an issue.
defaulting bundle.js to [name].js.
npm ERR! code 1
npm ERR! path ...opentelemetry-js/packages/opentelemetry-api-metrics
npm ERR! command failed
npm ERR! command sh -c nyc karma start --single-run

@dyladan
Copy link
Member Author

dyladan commented May 26, 2021

@vreynolds can you check out my PR, run a bootstrap and see if it fixes for you? Downgrading karma-webpack worked for me.

@mhennoch
Copy link
Contributor

mhennoch commented May 26, 2021

Did a fresh clone, npm i and run compile on OS X and test:browser works fine 🤔
karma-webpack is version "4.0.2" tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants