Hi everyone! I need your help please. I am using C...
# help
m
Hi everyone! I need your help please. I am using Cypress version 9.6.0 and getting the error while running the Cypress automation tests in GUI as well as headless mode. The error message is as below:
Copy code
Error: Webpack Compilation Error
./src/assets/icons/yat-hand.svg 1:0
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
@gray-kilobyte-89541 can you please help? This is completely blocking me from progressing anything.
g
Can you provide a reproducible example? Like a small repo that one can run to see this error?
m
Sorry. I could not create example repo to provide you. This issue is now resolved after installing cypress/webpack-preprocessor with the help of dev team.
Thanks.