I’m implementing cypress setup for my angular project , so I have installed cypress inside the angular project root directory. Initailly i followed the thus commands,
npm install cypress –save-dev
npx cypress open // after this command , i could see cypress folder crated with example test files
Once done I have updated my angular package.json scripts object follws,
“cy:run”: “npx cypress run”
Then I run this command ,
npm run cy:run
But I got this error
Running: todo.cy.js (1 of 1)
Oops…we found an error preparing this test file:
cypresssupporte2e.ts
The error was:
Error: Webpack Compilation Error
[tsl] ERROR
TS5053: Option ‘sourceMap’ cannot be specified with option ‘inlineSourceMap’.
[tsl] ERROR
TS5053: Option ‘sourceMap’ cannot be specified with option ‘inlineSourceMap’.
[tsl] ERROR
TS5053: Option ‘sourceMap’ cannot be specified with option ‘inlineSourceMap’.