ionic-team / ionic-starter-super

The Ionic 2 Super Starter 🎮

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got errors when start a project with this template.

fantasizer opened this issue · comments

The version of ionic is 2.2.1,
The version of npm is 4.0.5

When executing "ionic start superapp super --v2 -i",I got following errors:

Creating an Ionic 2.x app in /Users/xyqu/RD/mygithub/superapp based on the super template.

Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
Downloading: https://github.com/driftyco/ionic-starter-super/archive/master.zip
Installing npm packages (may take a minute or two)...
Error updating config.xml file: TypeError: packageName.replace is not a function
at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/start.js:869:10
at Parser. (/usr/local/lib/node_modules/ionic/node_modules/xml2js/lib/xml2js.js:484:18)
at emitOne (events.js:96:13)
at Parser.emit (events.js:188:7)
at Object.onclosetag (/usr/local/lib/node_modules/ionic/node_modules/xml2js/lib/xml2js.js:445:26)
at emit (/usr/local/lib/node_modules/ionic/node_modules/sax/lib/sax.js:640:35)
at emitNode (/usr/local/lib/node_modules/ionic/node_modules/sax/lib/sax.js:645:5)
at closeTag (/usr/local/lib/node_modules/ionic/node_modules/sax/lib/sax.js:905:7)
at Object.write (/usr/local/lib/node_modules/ionic/node_modules/sax/lib/sax.js:1449:13)
at Parser.exports.Parser.Parser.parseString (/usr/local/lib/node_modules/ionic/node_modules/xml2js/lib/xml2js.js:503:31)