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

Installation error on Ubuntu 17.04 #1730

Closed
ghost opened this issue Jan 5, 2018 · 3 comments
Closed

Installation error on Ubuntu 17.04 #1730

ghost opened this issue Jan 5, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 5, 2018

Hi all
I am trying to install reason and the compiler show following error message:

sudo npm install -g https://github.com/reasonml/reason-cli/archive/3.0.4-bin-linux.tar.gz
/usr/bin/ocamlmerlin -> /usr/lib/node_modules/reason-cli/.bin/ocamlmerlin
/usr/bin/rtop -> /usr/lib/node_modules/reason-cli/.bin/rtop
/usr/bin/ocamlmerlin-reason -> /usr/lib/node_modules/reason-cli/.bin/ocamlmerlin-reason
/usr/bin/utop -> /usr/lib/node_modules/reason-cli/.bin/utop
/usr/bin/refmt -> /usr/lib/node_modules/reason-cli/.bin/refmt
/usr/bin/reopt -> /usr/lib/node_modules/reason-cli/.bin/reopt
/usr/bin/refmttype -> /usr/lib/node_modules/reason-cli/.bin/refmttype
/usr/bin/rebuild -> /usr/lib/node_modules/reason-cli/.bin/rebuild
/usr/bin/reason-cli-esy-sandbox -> /usr/lib/node_modules/reason-cli/.bin/reason-cli-esy-sandbox
/usr/bin/reactjs_jsx_ppx_v3 -> /usr/lib/node_modules/reason-cli/.bin/reactjs_jsx_ppx_v3
/usr/bin/reactjs_jsx_ppx_v2 -> /usr/lib/node_modules/reason-cli/.bin/reactjs_jsx_ppx_v2

> reason-cli@3.0.4 postinstall /usr/lib/node_modules/reason-cli
> ./bin/esyBuildRelease bin install

tar: r: Cannot mkdir: Permission denied
tar: r: Cannot mkdir: Permission denied
tar: r/node_modules: Cannot mkdir: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/node_modules/.cache: Cannot mkdir: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/node_modules/.cache/_esy: Cannot mkdir: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/node_modules/.cache/_esy/store: Cannot mkdir: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/node_modules/.cache/_esy/store/i: Cannot mkdir: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/node_modules/.cache/_esy/store/b: Cannot mkdir: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/node_modules/.cache/_esy/store/s: Cannot mkdir: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/LICENSE: Cannot open: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/ORIGINS.md: Cannot open: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/yarn.lock: Cannot open: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/README.md: Cannot open: No such file or directory
tar: r: Cannot mkdir: Permission denied
tar: r/.travis.yml: Cannot open: No such file or directory
tar: r: Cannot mkdir: Permission denied

What am I doing wrong?

Thanks

@ghost ghost closed this as completed Jan 5, 2018
@g770728y
Copy link

I encountered the same error,can you tell me how do you solve it? thanks @bifunctor

@kimsk
Copy link

kimsk commented Feb 11, 2018

@g770728y This should fix the issue.
rescript-lang/rescript-compiler#2051

@kfish610
Copy link

@bifunctor Did this work for you? I tried and it still didn't work.

This issue was closed.
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

3 participants