Ok I had similar issue which received the message:
“Make sure your project has a build script in the package.json” in the end.
But in my case I also of some unknown reason also get follow issue :
“Cannot find module” which was a very odd problem. Everything was working when doing this on my machine but not on dashboard.ionicjs.com/
throw theirs cloud service when attaching/adding new “providers”.
Now it turns out that there wasn’t any error. It was just
that the whole thing could easily be solved
when just type:
git add www/* -f
And also remove the directory from .gitignore file where it says
www/
And then when typing
npm run build --build
everything works perfectly!
Not sure why this is working.
This is the setup I got so far:
git version 2.14.2
typescript : 2.3.4 (even work with 2.5.3)
app-ionic-script : 3.0.0. (even work with 2.4.1)
cli packages:
@ionic/cli-utils : 1.13.0
ionic (Ionic CLI) : 3.13.0
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic-angular 3.7.1
System:
Android SDK Tools : 25.2.5
ios-deploy : 1.9.1
Node : v6.7.0
npm : 3.10.8
OS : macOS Sierra
Xcode : Xcode 8.3.3 Build version 8E3004b
Misc:
backend : pro
Not sure if this could be call issue, but how do I do the same without including www directory everytime ?