Skip to Content
1

WEB IDE Error when building application.

Mar 20 at 04:46 PM

628

avatar image

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?
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

17 Answers

Juergen Keller Apr 03 at 12:18 PM
1

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)

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

That's working, for real. Thanks!

0
Asaf Bruner
Mar 21 at 07:21 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Great

Thank you. All works fine :)

0
Nigel James Mar 25 at 09:50 PM
0

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 ?

Show 2 Share
10 |10000 characters needed characters left characters exceeded

In order to resolve this I needed to delete the codebase from WebIDE Full Stack and reclone from source control.

Only then could I rebuild.

If I have to do this every time it will be a big productivity loss.

I hope you are able to resolve the issue.

0

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.

0
Hans Verreydt Mar 26 at 01:30 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 29 at 09:14 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Nabheet Madan Mar 31 at 01:56 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Here you go the solution edit your package.json file press a space and save and deploy again. Thanks to Jason Scott for providing solution here

0
Alex Silva Apr 02 at 06:38 PM
0

Do you have some news about?

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 03 at 08:09 AM
0

Waiting for update too, have the same issue!

Share
10 |10000 characters needed characters left characters exceeded
Adam Harkus Apr 10 at 02:25 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 13 at 10:21 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0