Skip to Content

name sap could not be found during create project from fiori template

Hi all expert,

I am creating project with sap business application studio with trial account. I just create a project via follow the template. But the projects i created always show me the error 'name sap could not be found'. It is for 'sap.ui.define' from component.js.

May u know how to fix it?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Sep 07 at 10:23 AM

    It is hard to estimate since the project structure is not available.

    Is it Fiori devspace?

    Is it a project for ABAP runtime or CF runtime?

    In general:

    1. The dependencies above is correct

    2. npm install

    3. Refresh App Studio

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 20 at 07:17 AM

    Hi Frank wang ,

    Try to perform npm install for the project, ie (1) open a terminal [CTRL + ~]; (2) Verify that the terminal is opened in the specific project's directory (not the "projects" directory); (3) execute npm install".

    Regards - Raz

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 07 at 10:04 AM

    Please share the package.json and the template used for project creation

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.