I'm unable to build the app via visualizer

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi ,

I'm trying to run the app in debug mode for web via visualiser, but ending up with the errors which i have attached in the same thread.

Please let me know what i am missing

Thanks

Please check whether you have set your ant path properly. Also if you are behind a proxy network, add the settings for that under the eclipse.ini file in the installed folder.

--

Thanks and Regards

Hi,

The following is the area where your build is failing.

/Users/satishkumar/KonyNewEWB/temp/veloolb/build/server/jsformat[echo] Preprocessing and Beautifying JS Files Start Time: 09/07/2018 06:15:34 PM[exec-script] /Users/satishkumar/KonyNewEWB/temp/veloolb/build/server/js[exec-script] fs.js:127[exec-script] PreProcessing JS File : customError.jsp[exec-script] throw new ERR_INVALID_CALLBACK();[exec-script] ^[exec-script][exec-script] TypeError [ERR_INVALID_CALLBACK]: Callback must be a function[exec-script] at maybeCallback (fs.js:127:9)[exec-script] at Object.writeFile (fs.js:1123:14)[exec-script] at /Users/satishkumar/KonyNewEWB/temp/veloolb/build/server/js-preprocess.js:198:7[exec-script] at Array.forEach ()[exec-script] at

There is an issue during the pre-processing of the files. Looks like you are not using the correct callback function in one of your js files.

Check your modules for any issues.

If this application is small, please share it.

@Luke Mvwtin​ , But this file path in inside the Workspace, not inside the project. Any work around for this issue ?

Hi,

If you see the error, you are having type mismatch.

You are assigning the function to an event callback, but its not assigned properly. Do you have something named: maybeCallback?

@Luke Mvwtin​ , These file is inside the build folder not in project folder what it means is all these files are generated when we Build the app right ?

The build is failing because of a type mismatch in your project.

You can delete these build files if you want.

It will be created again when you build the project.

I dont think so this is mismatch in project , because i tried to create a sample app and try to run on iOS Native facing the same issue

Could you also check whether you are on your base version of Kony. Trying upgrading the plugins and try.

--

Thanks

Hi,

I'm using -

Kony Visualizer

Enterprise Edition

Version 8 Service Pack 2

find the attachment for the same , please guide me through protocols that needs to followed for upgrading the plugins .

Please click on "Check for updates", and it will show you a new Viz plugin. But please see that i was able to build an ios build on base 8.2 Viz version.

I faced issue with build on 7.3 base version and it was resolved after updating plugin.

Please try the update and see.

--

Regards

I checked now in 8.2 and I am still able to build and generate a KAR

After updated visualizer via "Check for updates" i'm able to build the Applications both native and web - Thanks

Hi @Amvndv MvcDonvld​ , it looks like you were able to reach a resolution. Please click [Select as Best] under the reply that helped you the most. This will close out the post.