Skip to content

Installation Issue (Mac, Ubuntu) #755

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

Closed
askucher opened this issue Sep 11, 2016 · 4 comments
Closed

Installation Issue (Mac, Ubuntu) #755

askucher opened this issue Sep 11, 2016 · 4 comments

Comments

@askucher
Copy link

Error: Integer literal exceeds the range of representable integers of type nativeint
make[1]: *** [caml_int64.cmj] Error 2
make[1]: Leaving directory `/home/ubuntu/workspace/node_modules/bs-platform/jscomp/runtime'
make: *** [world] Error 2
npm ERR! Linux 2.6.32-46-pve
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "bs-platform"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: ./scripts/postinstall.sh
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] postinstall script './scripts/postinstall.sh'.
npm ERR! This is most likely a problem with the bs-platform package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./scripts/postinstall.sh
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bs-platform
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls bs-platform
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

@askucher askucher changed the title Installation Issue Installation Issue (Mac, Ubuntu) Sep 11, 2016
@bobzhang
Copy link
Member

@askucher seems it is configured with 32 bit OS, correct?

@askucher
Copy link
Author

askucher commented Sep 12, 2016

doesn't work here
root@P102:/home/ubuntu/workspace# uname -a
Linux P102 2.6.32-46-pve #1 SMP Tue Jun 28 20:04:58 CEST 2016 i686 i686 i386 GNU/Linux

and here:
Andrey-Air-2:Projects kucher$ uname -a
Darwin Stehnos-Air-2 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

@askucher
Copy link
Author

If you run it in browser then I have javascript structure which works without additional postinstalls and so on. I think you need to have allready built version (1 one file) with api

bucklescript = require("bucklescript")
bucklescript.compile("let it = 'work'")

@bobzhang
Copy link
Member

I will close it, if you still can not build it, feel free to ping again

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

No branches or pull requests

2 participants