Ionic share


#1

I try to share a app. ionic upload works and I can view it properly in ionic view app but I can’t share it with friend?

E:\ionic\mapleapp>ionic share abc@test.com

Error: Cannot find module './project’
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\David\AppData\Roaming\npm\node_modules\ionic\lib\ionic\share.js:7:20)
at Module._compile (module.js:398:26)
at Object.Module._extensions…js (module.js:405:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)

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

Your system information:

Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.6-201605132240
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
OS:


#2

I guess re-installing ionic might solve the problem, I had issues while login I was getting the error something like this: “cannot find login.js” I don’t remember the complete error though, Back then I was using beta.7 i guess, I re-installed ionic and then it worked fine.