Error : Cannot read properties of undefined (reading 'isEE')

I am trying to spin up my local server on

UI - http://localhost:1337/explore-adm/admin
Server - http://localhost:1337/explore-adm

I have observe that this below 2 APIs is not working properly

http://localhost:1337/explore-adm/admin/init
http://localhost:1337/explore-adm/admin/project-type

Please anybody can help me with this

This topic has been created from a Discord post (1247726457267028089) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Are you using EE ?

Better question is are you trying to hack to enable the EE without a valid license :eyes:

Enterprise Edition

Can you provide your package.json?

sure, allow me some time

{
“name”: “explore-now-cms”,
“private”: true,
“version”: “0.1.0”,
“description”: “Explore now application”,
“scripts”: {
“develop”: “strapi develop”,
“start”: “strapi start”,
“build”: “strapi build”,
“strapi”: “strapi”
},
“dependencies”: {
@strapi/plugin-i18n”: “4.12.1”,
@strapi/plugin-users-permissions”: “4.12.1”,
@strapi/provider-upload-aws-s3”: “^4.12.5”,
@strapi/strapi”: “4.12.1”,
“better-sqlite3”: “8.5.0”,
“strapi-plugin-import-export-entries”: “^1.21.1”
},
“author”: {
“name”: “Mintoak developer”
},
“strapi”: {
“uuid”: “fce57cff-91c8-44d8-a9cc-cb78c3713d0e”
},
“engines”: {
“node”: “>=16.0.0 <=20.x.x”,
“npm”: “>=6.0.0”
},
“license”: “MIT”
}

You are on some fairly old versions and you have miss-matched versions

All @strapi/* packages normally should be the same version, and I’d advise you update to some later releases

current latest I believe is like 4.24.4

as per you this is version issue

Could be yeah

    "@strapi/plugin-i18n": "4.12.1",
    "@strapi/plugin-users-permissions": "4.12.1",
    "@strapi/provider-upload-aws-s3": "^4.12.5",
    "@strapi/strapi": "4.12.1",

All of these should be the same version so either 4.12.1 or 4.12.5

will do that once

still same issue

I am using following config

in admin js

url: ‘/explore-adm’

in server js

url: ‘/explore-adm’

I think i am doing someting wrong here

<@211722558385553408> <@127203047725072384>

You can’t set those to relative, they need to be absolute and changing those won’t work without a reverse proxy like nginx or caddy

oouk ok …can you share any documentation which i can follow