Wappler keeps looking for index.html.ejs in Framework7 project

My app structure:
Index.html (main page) > store.html (content page)

I get this error in content pages. I cannot add maps, google autocomplete, or any function that relies on scripts from index.html.

How can I fix this?

This looks similar to an issue reported in 4.5.1:

Which was fixed in 4.5.2.

Did you begin the Project in 4.5.1 @blackelite? Maybe @George could advise on how to remedy it?

Hi @Dave I started it 2 days ago. I’m using wappler 4.6.0

Could you paste here your .wappler/project.json

You can open in from Wappler’s File Manager - but make sure you enable to show the hidden files from the context menu.

{

“projectName”: “ebonyv1.01”,

“designFramework”: “framework7”,

“useRouting”: true,

“routingHandler”: “framework7”,

“routingFile”: “/js/routes.js”,

“styleFile”: “/css/style.css”,

“assetsFolder”: “/assets”,

“frameworks”: [

{

  "name": "framework7_6",

  "type": "With App Connect"

},

{

  "name": "appConnect",

  "type": "local"

},

{

  "name": "framework7_icons",

  "type": "local"

},

{

  "name": "capacitor",

  "type": "local"

}

],

“hostingType”: “wappler”,

“projectServerModel”: “node”,

“runtime”: “capacitor”,

“projectType”: “app”,

“capacitor”: {

"capacitor": {

  "checked": true

},

"platform": "android",

"target": ""

},

“appFile”: “/js/app.js”

}

this is the problem, as indicated by Dave when creating new mobile apps with an older version.
It is fixed when creating new projects but will persist if you have created it with the older Wappler.

Anyway to fix it just remove those two lines, save the project.json and restart Wappler

2 Likes

Yeah, makes sense. I just went copy and paste.

Resolved: :+1:

1 Like