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

[Build] webpack coverage configuration is throwing lots of errors #4984

Closed
unlikelyzero opened this issue Mar 23, 2022 · 6 comments · Fixed by #5328
Closed

[Build] webpack coverage configuration is throwing lots of errors #4984

unlikelyzero opened this issue Mar 23, 2022 · 6 comments · Fixed by #5328
Labels
type:maintenance tests, chores, or project maintenance

Comments

@unlikelyzero
Copy link
Contributor

Summary

When running the following:

nvm use 14;
npm install;
npm run build:coverage;

The command completes, but a lot of errors are thrown along the way.

ERROR in ./src/plugins/themes/espresso-theme.scss (./src/plugins/themes/espresso-theme.scss.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js!./src/plugins/themes/espresso-theme.scss)
Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error: Can't resolve './fonts/Open-MCT-Symbols-16px.woff' in '/<dir>/openmct/src/plugins/themes'
@unlikelyzero unlikelyzero added the type:maintenance tests, chores, or project maintenance label Mar 23, 2022
@unlikelyzero
Copy link
Contributor Author

@trusktr can you take another look at this?

@trusktr
Copy link
Contributor

trusktr commented Apr 12, 2022

These errors seem to be harmless and not terminating the processes with non zero: the app works, and coverage works.

@trusktr
Copy link
Contributor

trusktr commented Apr 12, 2022

I haven't checked, but it might be coverage tool not finding those files when it encounters them because they're not JavaScript? Just a random guess.

@unlikelyzero
Copy link
Contributor Author

Testing Notes

nvm use 14;
npm install;
npm run build:coverage;

Verify that no errors are thrown during build stage

@ozyx
Copy link
Contributor

ozyx commented Jul 6, 2022

Verified -- Testathon 7/6/22

@jvigliotta
Copy link
Contributor

Verified Fixed Locally - Testathon: 7/8/22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:maintenance tests, chores, or project maintenance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants