Error: Cannot find module 'C:\laragon\www\laravel-whatsapp-server\backend\dist\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:448:19)
at Module._findPath (node:internal/modules/cjs/loader:692:18)
at resolveMainPath (node:internal/modules/run_main:15:25)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:24)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
path: 'C:\laragon\www\laravel-whatsapp-server\backend\package.json',
requestPath: 'C:\laragon\www\laravel-whatsapp-server\backend'
}
Error index.js not found
$ npm start
node:internal/modules/cjs/loader:456 throw err; ^
Error: Cannot find module 'C:\laragon\www\laravel-whatsapp-server\backend\dist\index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:448:19) at Module._findPath (node:internal/modules/cjs/loader:692:18) at resolveMainPath (node:internal/modules/run_main:15:25) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:24) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', path: 'C:\laragon\www\laravel-whatsapp-server\backend\package.json', requestPath: 'C:\laragon\www\laravel-whatsapp-server\backend' }