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
localhost-2:strapi-custom-slug-master abdo$ npm run develop
> my-project@0.1.0 develop /Users/abdo/Workshop/strapi-custom-slug-master
> strapi develop
[2022-11-25 09:31:46.746] debug: ⛔️ Server wasn't able to start properly.
[2022-11-25 09:31:46.748] error: Cannot read property 'register' of undefined
TypeError: Cannot read property 'register' of undefined
at Object.registerI18nPermissionsHandlers (/Users/abdo/Workshop/strapi-custom-slug-master/node_modules/@strapi/plugin-i18n/server/services/permissions/engine.js:57:39)
at Object.module.exports [as bootstrap] (/Users/abdo/Workshop/strapi-custom-slug-master/node_modules/@strapi/plugin-i18n/server/bootstrap.js:26:10)
at async Object.bootstrap (/Users/abdo/Workshop/strapi-custom-slug-master/node_modules/@strapi/strapi/lib/core/domain/module/index.js:40:7)
at async Object.bootstrap (/Users/abdo/Workshop/strapi-custom-slug-master/node_modules/@strapi/strapi/lib/core/registries/modules.js:28:9)
at async Strapi.runLifecyclesFunctions (/Users/abdo/Workshop/strapi-custom-slug-master/node_modules/@strapi/strapi/lib/Strapi.js:528:5)
at async Strapi.bootstrap (/Users/abdo/Workshop/strapi-custom-slug-master/node_modules/@strapi/strapi/lib/Strapi.js:466:5)
at async Strapi.load (/Users/abdo/Workshop/strapi-custom-slug-master/node_modules/@strapi/strapi/lib/Strapi.js:475:5)
at async Strapi.start (/Users/abdo/Workshop/strapi-custom-slug-master/node_modules/@strapi/strapi/lib/Strapi.js:212:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-project@0.1.0 develop: `strapi develop`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-project@0.1.0 develop script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/abdo/.npm/_logs/2022-11-25T06_31_46_777Z-debug.log
The text was updated successfully, but these errors were encountered:
Error when i trying to run server
The text was updated successfully, but these errors were encountered: