Bläddra i källkod

Fixed installer issues

master
anish 3 år sedan
förälder
incheckning
c00ab8aa0b
1 ändrade filer med 8 tillägg och 7 borttagningar
  1. 8
    7
      index.js

+ 8
- 7
index.js Visa fil

@@ -756,8 +756,9 @@ var op = {
gitRepos.push('client/server');
gitRepos = gitRepos.concat(elevatedRunasRepos);

// gitRepos = ['bbhverse', 'serververse', 'elixir-server'
// , 'client'
// gitRepos = [
// 'bbhverse', 'serververse', 'elixir-server',
// 'client'
// ];
var rmtasks = []
var repotasks = []
@@ -783,7 +784,7 @@ var op = {
repotasks.push(
() => {
console.log(`--------------------npm i for ${repo}--------------------`)
var p = nodeShellExec('npm', ['i --force'], {
var p = nodeShellExec('npm', ['i', '--force'], {
inherit: true, shell: true
, cwd: instanceroot + '/' + repo
, env: process.env
@@ -800,21 +801,21 @@ var op = {
// repotasks.push(
// () => {
// console.log(`--------------------second time npm i for client--------------------`)
// var p = nodeShellExec('npm', ['i --force'], {
// return nodeShellExec(`"${gitbash}"`, ['-c', '"npm i"'], {
// // return nodeShellExec('npm', ['i --force'], {
// inherit: true, shell: true
// , cwd: instanceroot + '/' + 'client'
// , env: process.env
// , title: `npm i for client`
// }).then(Tasq.then).catch(Tasq.catch)
// return p;
// })

var bowerRepos = ['client']
bowerRepos.forEach(repo => {
repotasks.push(() => {
console.log(instanceroot + '/' + repo + '/node_modules/bower/bin/bower')
var p = nodeShellExec('node_modules/bower/bin/bower', ['install'], {
// var p = nodeShellExec(`"${gitbash}"`, ['-c', '"node_modules/bower/bin/bower i"'], {
// var p = nodeShellExec('node_modules/bower/bin/bower', ['install'], {
var p = nodeShellExec(`"${gitbash}"`, ['-c', '"node_modules/bower/bin/bower i"'], {

inherit: true, shell: true
, cwd: instanceroot + '/' + repo

Laddar…
Avbryt
Spara