Ionic 3 problems to run project [Uncaught (in promise): cordova_not_available]

0

The project was not created by me.

I can not run the project. When you try to run the project with the command ionic server it returns the message Uncaught(in promise): cordova_not_available .

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

If I understand the error message correctly, it says that the .NET Framework 2.0 SDK is missing. But I've even reinstalled and continue to return the same error message.

Part two of the message, as I understand it, says that I have to install Microsoft Visual Studio . But it makes no sense to working with Ionic is two months and never needed it. I even did the procedure to remove the folder node_modules and run npm install to Mac and I had no problem. The problem is giving in Windows 8.1 .

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

I do not know what to do to run this project properly.

    
asked by anonymous 30.10.2018 / 00:27

1 answer

0

I found it. You have to install environment-friendly tools for Windows .

Command:

npm install -g --production windows-build-tools
    
31.10.2018 / 00:29