Skip to content

entrypoints.json Not Updated? #12

@jonsq

Description

@jonsq

Fresh UF 5 installed on Windows.

I followed your 3-step instructions, but received the following error when loading the settings page:

An exception has been thrown during the rendering of a template 
"Could not find the entry "page.config-manager" in "assets://entrypoints.json". 
Found: 
app, page.register, page.sign-in, page.forgot-password, page.resend-verification, page.set-or-reset-password, 
page.account-settings, dashboard, page.dashboard, page.activities, page.group, page.groups, page.role, page.roles, 
page.permission, page.permissions, page.user, page.users.

To fix this error I had to:

  1. Edit "\public\assets\entrypoints.json" to include:
    "page.config-manager": {
     "js": [
       "assets/js/ConfigManager.js"
     ]
    },
    "widget.formGenerator": {
     "js": [
       "assets/js/widget-formGenerator.js"
     ]
    }```
  2. I also copied both the "ConfigManager.js" and "widget-formGenerator.js" files to the "\app\assets\js" folder.

Did I make an obvious mistake somewhere that lead to this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions