cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error During Preview Application for Fiori Tools Generate Project

ChristianHalsell
Associate
Associate
0 Kudos
3,586

Hello everyone,

I ran into an issue when working on this tutorial: 

https://developers.sap.com/tutorials/fiori-tools-generate-project.html

There are no errors in Visual Studio Code, but when I try to view the site in a browser it's blank. I see the following error in the console:

Failed to load resource: the server responded with a status of 404 (Not Found)
send @ jquery-dbg.js:9325Understand this error
jquery-dbg.js:9325


Failed to load resource: the server responded with a status of 404 (Not Found)
send @ jquery-dbg.js:9325Understand this error
jquery-dbg.js:9325


Failed to load resource: the server responded with a status of 404 (Not Found)
send @ jquery-dbg.js:9325Understand this error
assert-dbg.js:34 Assertion failed: could not find any translatable text for key 'appTitle' in bundle 'i18n/i18n.properties'
a @ assert-dbg.js:34Understand this error
Container.js?eval:2 Uncaught (in promise) TypeError: e.indexOf is not a function
at q.createRenderer (Container.js?eval:2:1588)
at locate-reuse-libs.js:231:38
at Core-dbg.js:1357:5
at Array.forEach (<anonymous>)
at Core._executeInitListeners (Core-dbg.js:1356:14)
at Core._executeInitialization (Core-dbg.js:1369:3)
at Core.init (Core-dbg.js:1191:4)
at Core-dbg.js:485:9
at a (Core-dbg.js:179:5)
at SyncPoint.finishTask (Core-dbg.js:173:5)

Has anyone come across this before?

Accepted Solutions (0)

Answers (2)

Answers (2)

rounak_roy
Product and Topic Expert
Product and Topic Expert
0 Kudos

For now as a workaround, just stop and start the instance, it will work.

Carsten_Schlegel
Explorer
0 Kudos

Hello Christian,

1. try update the generator and/or VSC Extension (regenerate the app)

2. Try execute npm i in terminal and the app/project directory.

And last, try to generate app with yeoman:

npm i -g yeoman-generator
npm i -g @ash_G/generator-fiori
yo

Then select @ash_G/fiori and follow the instructions/steps.

RaminS
Active Participant
0 Kudos

Hi @Carsten_Schlegel ,

Your last instructions don't work, it says "the name can no longer contain capital letters"

RaminS_0-1735395096863.png

Any other suggestions?

When I try to Preview my app in BAS I'm getting this error, with no other explanation:

RaminS_0-1735397607846.png

 

 

 

CPC
Discoverer
0 Kudos
@RaminS where you able to solve the AggregateError? I have the same issue.
RaminS
Active Participant

Hi @CPC ,

The Aggregate error is due to a bug with Fiori Tools extension that SAP has a fix for. The fix is supposed to be released some time in February.

As a work-around, stop and restart the DevSpace in BAS and you'll be good to go.

CPC
Discoverer
@RaminS, restarting the DevSpace solved this issue. Thank you.