play-co / devkit

HTML 5 game platform for browser and mobile
http://docs.gameclosure.com
622 stars 126 forks source link

devkit init fails #272

Open aldovc opened 7 years ago

aldovc commented 7 years ago

Hi,

With the following configuration:

While running devkit init mygame the process fails right after the install scripts:

          [module]  running install scripts...

> devkit-core@4.5.3 preinstall /home/vagrant/devkit-projects/boshu/modules/devkit-core
> sh scripts/preinstall.sh

Synchronizing submodule url for 'modules/native-android'
Synchronizing submodule url for 'modules/native-ios'
Synchronizing submodule url for 'modules/squill'
Synchronizing submodule url for 'modules/timestep'

> native-android@1.0.22 preinstall /home/vagrant/devkit-projects/boshu/modules/devkit-core/modules/native-android
> sh ./preinstall.sh

Synchronizing submodule url for 'barista'
fatal: Not a git repository: /home/vagrant/.config/devkit/cache/22617888403274601668/.git/modules/modules/native-android/modules/barista
fatal: Not a git repository: /home/vagrant/.config/devkit/cache/22617888403274601668/.git/modules/modules/native-android/modules/barista
fatal: Not a git repository: /home/vagrant/.config/devkit/cache/22617888403274601668/.git/modules/modules/native-android/modules/barista
Synchronizing submodule url for 'native-core'
fatal: Not a git repository: /home/vagrant/.config/devkit/cache/22617888403274601668/.git/modules/modules/native-android/modules/native-core
fatal: Not a git repository: /home/vagrant/.config/devkit/cache/22617888403274601668/.git/modules/modules/native-android/modules/native-core
fatal: Not a git repository: /home/vagrant/.config/devkit/cache/22617888403274601668/.git/modules/modules/native-android/modules/native-core
fatal: Not a git repository: /home/vagrant/.config/devkit/cache/22617888403274601668/.git/modules/modules/native-android/modules/barista
Unable to find current revision in submodule path 'barista'

And then NPM just halts

npm ERR! Linux 4.4.0-34-generic
npm ERR! argv "/home/vagrant/.nvm/versions/node/v6.2.2/bin/node" "/home/vagrant/.nvm/versions/node/v6.2.2/bin/npm" "install"
npm ERR! node v6.2.2
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! native-android@1.0.22 preinstall: `sh ./preinstall.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the native-android@1.0.22 preinstall script 'sh ./preinstall.sh'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the native-android package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sh ./preinstall.sh
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs native-android
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls native-android
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/vagrant/devkit-projects/boshu/modules/devkit-core/modules/native-android/npm-debug.log

Is there something I'm missing? Thanks