https://cypress.io logo
#component-testing
Title
# component-testing
o

orange-egg-80225

05/23/2022, 10:32 PM
Copy code
Error: Webpack Compilation Error
./src/component/lineitem/LimitEditComponent.vue 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
> <template>
|   <div class="rqcore-container container-fluid">
|     <div class="row card-body">
 @ ./src/component/lineitem/LimitEditComponent.spec.ts 4:33-68
Finally got it to load but the component test still doesn't load. it looks like there is a 401 error but couldn't able debug it further.
Copy code
webpack 5.72.0 compiled with 6 warnings in 7424 ms
GET /__cypress/iframes//Users/mcheung/src/arqu-web/cypress/component/App.spec.ts 401 9.121 ms - -
GET /__cypress/iframes//Users/xxxx/src/xxx-web/cypress/component/App.spec.ts 401 4.696 ms - -
POST /v1:GetModels?key=AIzaSyBOti4mM-6x9WDnZIjIeyEU21OpBXqWBgw 200 720.081 ms - -
GET /__cypress/iframes//Users/xxxx/src/xxxx-web/cypress/component/EmptyLayoutComponent.spec.ts 401 13.932 ms - -
GET /__cypress/iframes//Users/mcheung/src/arqu-web/cypress/component/EmptyLayoutComponent.spec.ts 401 6.512 ms - -
GET /__cypress
5 Views