on 07-06-2018 5:49 PM
Hi there,
I am attempting to Build and Deploy a simple MTA in my trial CF account. The project contains only a single HTML5 module (I selected ver. 1.44 based on other Q&A Postings). I am receiving the error: "Fatal error: unable to find local grunt" Here is the console.log output:
Thanks in advance for the help.
KW
I had the same error today and wanted to post the solution in case it might help someone. I solved this issue by creating a temporary folder, temp_web, and moved all of the contents of my HTML5 module, web, into the temp_web folder. I then deleted web and renamed temp_web to web.
I think the issue is that if you create a new HTML5 Module by using the template it expects a Gruntfile. I thought deleting the file would be enough but that was not the case. There is likely hidden files that also need to be deleted but with the solution above I was able to successfully build my MTA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kathie,
This is quite strange error message. Is Gruntfile.js added to your project as it has been recommended in the pointed by you tutorial?
Please try to add the content of the Gruntfile.js as it is explained in this blog - Auto documentation using Grunt in the Multi-Cloud WebIDE.
This tutorial - Adding Grunt Plugins (TypeScript) in SAP Web IDE - might be helpful about the content of the Gruntfile.js which will work for your project.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.