-
Notifications
You must be signed in to change notification settings - Fork 17
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-core preinstall.sh throws errors during devkit init #54
Comments
I found that after this error running The error i got with the preinstall script was
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm running ubuntu 16, node v6.3.0 and npm 3.10.3.
I installed devkit throw npm.
devkit-core preinstall.sh throws errors during devkit init
I tried to run it with node v4 but I get the same error.
`➜ /tmp devkit init hello
(node:11982) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
[apps] Creating app using default template
Creating app using default application template
[install] Installing devkit-core...
Adding devkit-core
[module] set version [email protected]
[install] Copying /tmp/hello/modules
[cache] installing devkit-core at /tmp/hello/modules/devkit-core/
[module] running install scripts...
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'
Synchronizing submodule url for 'barista'
fatal: Not a git repository: /home/amir/.config/devkit/cache/26620230863654590862/.git/modules/modules/native-android/modules/barista
fatal: Not a git repository: /home/amir/.config/devkit/cache/26620230863654590862/.git/modules/modules/native-android/modules/barista
fatal: Not a git repository: /home/amir/.config/devkit/cache/26620230863654590862/.git/modules/modules/native-android/modules/barista
Synchronizing submodule url for 'native-core'
fatal: Not a git repository: /home/amir/.config/devkit/cache/26620230863654590862/.git/modules/modules/native-android/modules/native-core
fatal: Not a git repository: /home/amir/.config/devkit/cache/26620230863654590862/.git/modules/modules/native-android/modules/native-core
fatal: Not a git repository: /home/amir/.config/devkit/cache/26620230863654590862/.git/modules/modules/native-android/modules/native-core
fatal: Not a git repository: /home/amir/.config/devkit/cache/26620230863654590862/.git/modules/modules/native-android/modules/barista
Unable to find current revision in submodule path 'barista'
npm ERR! Linux 4.4.0-28-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.3.0
npm ERR! npm v3.10.3
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! /tmp/hello/modules/devkit-core/modules/native-android/npm-debug.log
Stopping at 'modules/native-android'; script returned non-zero status.
npm WARN [email protected] No license field.
npm ERR! Linux 4.4.0-28-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.3.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] preinstall:
sh scripts/preinstall.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall script 'sh scripts/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 devkit-core package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! sh scripts/preinstall.sh
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs devkit-core
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls devkit-core
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/hello/modules/devkit-core/npm-debug.log
`
EDIT:
If after the init fails I run
sudo sh scripts/preinstall.sh
then the installation passes and everything seems to be workingThanks,
Amir.
The text was updated successfully, but these errors were encountered: