You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating an application with cypress e2e the command nx run app-e2e:e2e fails with
Failed to load url /src/main.ts (resolved id: /home/workspace/app/src/main.ts). Does the file exist?
The request url "/home/workspace/app/src/main.ts" is outside of Vite serving allow list.
When I add
fs: {
allow: [process.cwd()],
},
in the file vite.config.ts in the config under the key server, then the tests are working.
The text was updated successfully, but these errors were encountered:
When generating an application with cypress e2e the command
nx run app-e2e:e2e
fails withWhen I add
in the file
vite.config.ts
in the config under the key server, then the tests are working.The text was updated successfully, but these errors were encountered: