Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devkit init fails #272

Open
aldovc opened this issue Sep 28, 2016 · 0 comments
Open

devkit init fails #272

aldovc opened this issue Sep 28, 2016 · 0 comments

Comments

@aldovc
Copy link

aldovc commented Sep 28, 2016

Hi,

With the following configuration:

  • Node v6.2,2
  • npm 3.10.5
  • devkit 3.1.3
  • Vagrant running Linux 4.4.0-34-generic

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

          [module]  running install scripts...

> [email protected] 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'

> [email protected] 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! [email protected] preinstall: `sh ./preinstall.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant