webix.prompt is not a function

I am using webix.prompt in webix jet but i got error that “webix.prompt is not a function”. can anyone pls help ?

probably your webix version is less than 7.4

Hello @intregal, can you pls tell me how to upgrade version and if I upgrade version in my current project then will I face any problem?

how to upgrade version
if you are using npm or other manager then just update to the last version

npm i webix@latest

or download required version from your client area

will I face any problem?
it depends on your current version and code complexity.
most probably you will not have big problem.

Thank you @intregal. I will try and let you know.

Hello @intregal, i have upgrade to latest version 7.4 but still i got the same error.
Error : “Uncaught TypeError: webix.prompt is not a function”

@Naufil
check the reference to webix codebase in your code.
check the version of current running code.

webix.message(webix.version);

Oops, it’s showing 6.3.6… but I have used this one as you told me
npm i webix@latest . @intregal

@Naufil
can you share how you import webix?

here is the code @intregal.
link : Code Snippet

webix.prompt({
title: “What is your favourite cat breed?”,
text: “Share with us below”,
ok: “Submit”,
cancel: “Cancel”,
input: {
required: true,
placeholder: “Siamese, Maine Coon, Sphynx…”,
}
}).then(function (result) {
webix.alert({
text: “Ooh, " + result + " cats are so cute!”
});
});