Hi, I have attempted to migrate a project to using Ionic App Scripts 1.0.0 but are having serious issues.
It seems I had to this to get the latest (although I did them in the opposite order).
npm install -g ionic@latest
npm install @ionic/app-scripts@latest
I then had problems with “Error: Cannot find module ‘reflect-metadata’” and in order to update that module I got another error which proved to be that I had an old node version (I am now using 6.9.4). So update Node!
I got an error just as the project was starting up with ionic serve and had to do this to solve that:
npm install --save-dev sw-toolbox
Info about this problem was found here: Ionic2 looking for js file where ts file exists
But I am now stuck at the error when the app is served in the web page with the message:
Cannot find module “localforage”
Here is my system info:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.4
Xcode version: Not installed