Problems when i start a repo from git to build the project into IOs


#1

I’ve a personal project with crosswalk added… The problem it’s i’m trying to git clone that repo and built into IOS but it gaves me an error doing the npm i

No description
No repository field
No README data

I don’t know how it’s going on, i’ve that project working in another pc but when i do the NPM it doesn’t work


#2

Please post the whole command and output.
Please post your ionic info output.


#3
[ERROR] Error with .\node_modules\ionic-angular\package.json file: FILE_NOT_FOUND

cli packages: (C:\Users\Juan\AppData\Roaming\npm\node_modules)

    @ionic/cli-utils  : 1.15.2
    ionic (Ionic CLI) : 3.15.2

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms  : android 6.2.3
    Ionic Framework    : not installed

System:

    Node : v6.11.2
    npm  : 3.10.10 
    OS   : Windows 10

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : legacy

I don’t understand this info. The package.json is here and all the ionic files…

???


#4

So this file does exist?

Delete node_modules and run npm install to recreate it. Then try again.


#5

Ok i’ll do it. Thanks


#6

I’ve got the following error

npm WARN Invalid version: "1.0"
npm WARN aplicacion_android No description
npm WARN aplicacion_android No repository field.
npm WARN aplicacion_android No README data
npm WARN aplicacion_android No license field.

New ionic info:

ERROR] Error with .\node_modules\ionic-angular\package.json file: FILE_NOT_FOUND
[ERROR] Error with .\node_modules\@ionic\app-scripts\package.json file: FILE_NOT_FOUND

cli packages: (C:\Users\Juan\AppData\Roaming\npm\node_modules)

    @ionic/cli-utils  : 1.15.2
    ionic (Ionic CLI) : 3.15.2

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : not installed
    Cordova Platforms  : android 6.2.3
    Ionic Framework    : not installed

System:

    Node : v6.11.2
    npm  : 3.10.10 
    OS   : Windows 10

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : legacy

I added to the project a crosswalk version. Can be that the problem?


#7

npm rebuild node–sass --force
run this command it will create node modules according to ios


#8

Nothing works… I don’t know what’s is going on


#9

Did you do what I told you, delete node_modules and run npm install again?

Your problem is probably with npm, something to do with permissions and files. This happens quite often and is almost impossible to successfully debug (at least here in the forum).

One solution: Uninstall your node, install nvm (or nvm-windows if you are on Windows), install a new node (which includes npm) with this, then install ionic and cordova again and try your command again. The problem should be gone.


#10

Now is failing in windows too… I’ve the app’s working but if i try to do git clone in other pc i cannot start the repo.

So frustrating. In windows launchs the same errors


#11

It would help if you actually responded to my questions instead of just posting new problems without context.


#12

Ok. Im doing the process you say to me. now i talk you