unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Pimentel <d4n1@openmailbox.org>
To: guix-devel@gnu.org
Subject: Guix and Cordova
Date: Tue, 24 Mar 2015 08:40:32 -0300	[thread overview]
Message-ID: <7df28faa6f1669392501829422eb137c@openmailbox.org> (raw)

Hi Guix, I installed NodeJs (node-0.12.0) that contain NPM (npm-2.5.1), 
so I tried install cordova in local profile (npm install cordova), but 
there's error when try execute cordova local binary 
(node_modules/.bin/cordova):
bash: ./cordova: /usr/bin/env: bad interpreter: No such file or 
directory

I tried global install (npm install -g cordova), but there're errors 
too:

62 error   fstream_path: 
'/gnu/store/drs76938m19bdi98zjmpvw7i2fxv6gyr-node-0.12.0/lib/node_modules/cordova',
62 error   fstream_class: 'DirWriter',
62 error   fstream_stack:
62 error    [ 
'/gnu/store/drs76938m19bdi98zjmpvw7i2fxv6gyr-node-0.12.0/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23',
62 error      
'/gnu/store/drs76938m19bdi98zjmpvw7i2fxv6gyr-node-0.12.0/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53',
62 error      'FSReqWrap.oncomplete (fs.js:99:15)' ] }
63 error Please try running this command again as root/Administrator.
64 verbose exit [ -13, true ]
65 verbose unbuild lib/node_modules/cordova
66 verbose gentlyRm vacuuming 
/gnu/store/drs76938m19bdi98zjmpvw7i2fxv6gyr-node-0.12.0/lib/node_modules/cordova

And as root with sudo (sudo npm install -g cordova):
4 verbose stack     at Pipe.close (net.js:476:12)
5 verbose cwd /home/dani/Desktop/development/node
6 error Linux 3.18.9-gnu
7 error argv 
"/gnu/store/drs76938m19bdi98zjmpvw7i2fxv6gyr-node-0.12.0/bin/node" 
"/home/dani/.guix-profile/bin/npm" "install" "-g" "cordova"
8 error node v0.12.0
9 error npm  v2.5.1
10 error setuid user id does not exist
11 error If you need help, you may report this error at:
11 error     <http://github.com/npm/npm/issues>
12 verbose exit [ 1, true ]

I need cordova for research in my master's degree.

Thanks,

-- 
Daniel Pimentel (d4n1)

             reply	other threads:[~2015-03-24 11:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 11:40 Daniel Pimentel [this message]
2015-03-24 15:57 ` Guix and Cordova Thompson, David
2015-03-25  0:43   ` Daniel Pimentel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7df28faa6f1669392501829422eb137c@openmailbox.org \
    --to=d4n1@openmailbox.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).