"ionic share" error with ionic 2

When i try to share an app with the command ionic share, i get an error :

Error: Cannot find module ‘./project’
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (C:\Users\blabla\AppData\Roaming\npm\node_modules\ionic\lib\ionic\share.js:9:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions…js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)

Cannot find module ‘./project’ (CLI v2.0.0-beta.22)

Your system information:

Cordova CLI: 6.1.0 (cordova-lib@undefined)
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.22
Ionic App Lib Version: 2.0.0-beta.12
OS:
Node Version: v4.2.3

This command isn’t supported on v2 ?

1 Like

I have the same issue now. Updated my ionic last week and now I can not share the project anymore.

Sadly, it seems the share feature isn’t yet supported for Ionic v2.

I found a workaround : you can try to connect to https://apps.ionic.io/apps and from there you will be able to share your app ( … i think :s )

Can you confirm this? I can’t seem to find the share option on this link :confused: