File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ const path = require('path');
77const pkg = require ( path . join ( process . cwd ( ) , 'package.json' ) ) ;
88// const cordovaTemp = path.join(process.cwd(), 'cordova');
99const root = path . join ( process . cwd ( ) ) ;
10- const cmd = `cordova create cordova ${ pkg . identifier } "${ pkg . title } "` ;
10+ const localNodeBin = path . join ( process . cwd ( ) , 'node_modules/.bin/' )
11+ const cmd = `${ localNodeBin } cordova create cordova ${ pkg . identifier } "${ pkg . title } "` ;
1112
1213// Run command to create cordova in a temporary directory
1314exec ( cmd , ( error ) => {
Original file line number Diff line number Diff line change 44 "version" : " 3.1.0" ,
55 "description" : " A starter kit for building a standard navigation-style app with Aurelia, typescript and webpack." ,
66 "main" : " dist/app.js" ,
7+ "identifier" : " ch.w3tec.app" ,
78 "scripts" : {
89 "install:dev" : " npm i && npm run install:typings" ,
910 "install:typings" : " ./node_modules/.bin/typings i" ,
126127 "chalk" : " ^1.1.3" ,
127128 "compression-webpack-plugin" : " 0.3.2" ,
128129 "concurrently" : " 3.2.0" ,
130+ "cordova" : " ^6.5.0" ,
129131 "cross-env" : " 3.1.4" ,
130132 "electron" : " 1.4.15" ,
131133 "favicons-webpack-plugin" : " 0.0.7" ,
You can’t perform that action at this time.
0 commit comments