To run component-testing, cypress needs the dev-server:start event.
Please implement it by adding this code to your pluginsFile.
// /path/to/plugins/file.js
module.exports = (on, config) => {
on('dev-server:start', () => startDevServer(...)
}
See https://on.cypress.io/component-testing for help on setting up component testing.