datitisev
Hello.
To install it on Ubuntu 18.04 LTS, I had to use sudo
... 🙁
First try:
7951 verbose stack Error: EACCES: permission denied, access '/usr/local/lib'
7952 verbose cwd /home/cga
7953 error Linux 5.0.0-37-generic
7954 error argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "@friendsofflarum/create-flarum-extension"
7955 error node v8.10.0
7956 error npm v3.5.2
7957 error path /usr/local/lib
7958 error code EACCES
7959 error errno -13
7960 error syscall access
7961 error Error: EACCES: permission denied, access '/usr/local/lib'
7961 error { Error: EACCES: permission denied, access '/usr/local/lib'
7961 error errno: -13,
7961 error code: 'EACCES',
7961 error syscall: 'access',
7961 error path: '/usr/local/lib' }
7962 error Please try running this command again as root/Administrator.
7963 verbose exit [ -13, true ]
Trying install with sudo
is OK, but...
When I try has standard user (or as root!), I have this:
$ create-flarum-extension test-extension
/usr/bin/env: 'node\r': No such file or directory
I have already Node installed:
$ node -v
v8.10.0
Thank you for help...