Skip to content

devkit init fails #272

@aldovc

Description

@aldovc

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...

> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions