cancel
Showing results for 
Search instead for 
Did you mean: 

VSCode config issue - npm ERR 404

dong_zhu
Explorer
0 Kudos

Hi Fiori experts, I installed VSCode &Node.js, but when running a Fiori app shows this error. Anyone has an idea? Thx.

npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/fiori - Not found npm ERR! 404 npm ERR! 404 'fiori@latest' is not in this registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

Accepted Solutions (0)

Answers (2)

Answers (2)

SugguSandeep
Active Participant
0 Kudos

Hi

Hope you are doing great 🙂

The Problem you are facing is that you are downloading programs from official site:
that will not run.

make Sure that you maintain the proper Src in Index.html file:
Where standard components build in OpenUI5 later it was added some features added by SAP with License:

src="https://sdk.openui5.org/resources/sap-ui-core.js"

The Link States that, developers are of using those Standard resources to develop the Application.

Add the link after that npm install & npm start

Then also if not run - Install the extension in VS (Live Server) & right click on Index.html file (select Open with live server)... hola your application will get visible in browser.

Still facing issue...

Thank you,
Suggu Sandeep.

bhavinvyas
Active Contributor
0 Kudos

Please refer this thread if its helpful to you,

SAP BAS - fiori@latest is not in the npm registry