Skip to Content

WEB IDE Error when building application.

In SAP WEB IDE I'm building my project (Right-Clck + Build).

This was working correctly but now it's erroring with:

4:43:07 PM (Build) Build started. 4:43:10 PM (DIBuild) Build of /rsa-complete-survey in progress 4:43:11 PM (DIBuild) [INFO] Retrieving source code

[INFO] Preparing node environment
[INFO] package.json not modified, skipping npm installation
[INFO] Using recently cached node_modules
[INFO] Node environment ready4:43:15 PM (DIBuild) grunt-cli: The grunt command line interface (v1.2.0)

Fatal error: Unable to find local grunt.

If you're seeing this message, grunt hasn't been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide:

http://gruntjs.com/getting-started
[INFO] Build finished in 4 secondsAny ideas?
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

17 Answers

  • Apr 03 at 12:18 PM

    Got the same problem. The fix for me is to change the package.json file (e.q. insert empty line). After saving "package.json" build worked (at least most of the time)

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 21 at 07:21 AM

    Hi Adam,

    We have detected some unexpected behavior in the npm version we were using and were enforced to upgrade to a newer version that contained the fix. Things should work for you now, please let us know otherwise. We will keep monitoring the issue to make sure it works well.

    Best Regards,

    Asaf

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 25 at 09:50 PM

    I am getting the same error after a successful deployment on Friday. ( Now Monday morning )

    Asaf Bruner Is there something I can do to give npm a shake, like pushing a inconsequential change to package.json ?

    Add comment
    10|10000 characters needed characters exceeded

    • I also needed to Activate the BSP application on gateway before the application would deploy.

      I was getting the error:

      Could not deploy application <bsp-application-name>/<filepath>/LIBRARY.JS is inactive.

  • Mar 26 at 01:30 PM

    Hi,

    I've the same problem in my Web IDE full stack.
    Deleting the codebase and reclone didn't work for me.

    Asaf Bruner , do you know anything else what we could try to fix this?

    Regards,
    Hans

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 29 at 09:14 AM

    Asaf Bruner as of today we still get error messages. It is either:

    "Fatal error: Unable to find local grunt."

    or:

    (DIBuild) npm ERR! cb() never called!

    Regards,

    Andreas

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 31 at 01:56 AM

    Do we have any update here? Facing the same issue:(

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 02 at 06:38 PM

    Do you have some news about?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 03 at 08:09 AM

    Waiting for update too, have the same issue!

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 10 at 02:25 PM

    This has now been updated a while..... It just started working again for me.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 13 at 10:21 AM

    With today I am receiving the same error again "Unable to find local grunt". I migrated an older project from the "old" WebIDE to the full-stack edition and now can't build/deploy it due to this grunt error that seems to come and go whenever it feels bothering poor developers ;-)


    Regards, Andreas

    Add comment
    10|10000 characters needed characters exceeded

    • Found a possible solution, in package.json the build version was set to "@sap/grunt-sapui5-bestpractice-build": "1.3.50""

      I changed it back to 1.3.33 like in other projects and was able to successfully build and deploy.