Ionic 3 problems running project [Uncaught(in Promise): cordova_not_available]

Asked

Viewed 117 times

0

The project was not created by me.

I am unable to run the project. When trying to run the project with the command ionic server returns the message Uncaught(in promise): cordova_not_available.

I tried to remove the folder nome_modules and rotate the command npm install, but generates the following error:

Erro retornado

If I got the error message right, say it’s missing the .NET Framework 2.0 SDK. But I already reinstalled and keeps returning the same error message.

Part two of the message, from what I understand, says I have to install the Microsoft Visual Studio. But it doesn’t make any sense to work with Ionic is two months old and I never needed it. I even did the procedure to remove the folder node_modules and rotate npm install in a Mac and I had no problem. The problem is giving in Windows 8.1.

I followed a tutorial that talks to use the commands ionic cordova platform add browser and then ionic cordova run browser. Ok... the design runs, but several layout components do not load.

I don’t know what else to do to run this project properly.

1 answer

0

I could find it. You have to install some working tools for the Windows.

Commando:

npm install -g --production windows-build-tools

Browser other questions tagged

You are not signed in. Login or sign up in order to post.