Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic link does not work with Ionic v2

When I run ionic link command inside ionic project folder I got following error message
"You cannot run this command unless you are in an Ionic Project folder"

My system info.

Cordova CLI: 6.3.1
Gulp version: CLI version 1.2.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.36
Ionic App Lib Version: 2.0.0-beta.19
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS
Node Version: v6.4.0

like image 372
Shamsher Avatar asked Dec 15 '22 04:12

Shamsher


1 Answers

You can use following command to setup app linking with Ionic IO.

ionic io init

this will update ionic.config.json with app_id and generate .io-config.json file with app_id and api_key.

like image 120
Shamsher Avatar answered Dec 20 '22 17:12

Shamsher