When i tried to create a component and saved and the loading screen appeared it shows below message. there is an file creates as the component saves that was seen saved in under component folder/faq/faq.json when it removes it works well.
The restart is taking longer than expected
The server should have restarted, please check your logs in the terminal.
TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received undefined ││ at Object.join (node:path:433:7) ││ at C:\albert\work\tranquil\strapi\tranquil\node_modules@strapi\strapi\dist\core\loaders\components.js:17:31 ││ at Array.forEach () ││ at C:\albert\work\tranquil\strapi\tranquil\node_modules@strapi\strapi\dist\core\loaders\components.js:14:32 ││ at Array.reduce () ││ at Object.loadComponents ││ (C:\albert\work\tranquil\strapi\tranquil\node_modules@strapi\strapi\dist\core\loaders\components.js:13:27) ││ at async Strapi.loadComponents (C:\albert\work\tranquil\strapi\tranquil\node_modules@strapi\strapi\dist\Strapi.js:320:23) ││ at async Promise.all (index 6) ││ at async Strapi.register (C:\albert\work\tranquil\strapi\tranquil\node_modules@strapi\strapi\dist\Strapi.js:341:5) ││ at async Strapi.load (C:\albert\work\tranquil\strapi\tranquil\node_modules@strapi\strapi\dist\Strapi.js:425:5