[Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

laurent bernabe laurent.bernabe at gmail.com
Tue Jun 25 11:36:22 EDT 2013


I get the same problem : what make me think that I must unistall npm first
and then retry to build and run sugar build.

------------------------------
Command failed: npm install -g --prefix
/home/laurent-bernabe/Programmes/sugar-build/build/out/install

npm ERR! addLocal Could not install .
npm ERR! Error: EACCES, mkdir '/home/laurent-bernabe/tmp/npm-28545'
npm ERR!  { [Error: EACCES, mkdir '/home/laurent-bernabe/tmp/npm-28545']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/home/laurent-bernabe/tmp/npm-28545' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.8.0-25-generic
npm ERR! command
"/home/laurent-bernabe/Programmes/sugar-build/build/out/install/bin/node"
"/home/laurent-bernabe/Programmes/sugar-build/build/out/install/bin/npm"
"install" "-g" "--prefix"
"/home/laurent-bernabe/Programmes/sugar-build/build/out/install"
npm ERR! cwd /home/laurent-bernabe/Programmes/sugar-build/grunt-cli
npm ERR! node -v v0.10.11
npm ERR! npm -v 1.2.30
npm ERR! path /home/laurent-bernabe/tmp/npm-28545
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/home/laurent-bernabe/tmp/npm-28545'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!
/home/laurent-bernabe/Programmes/sugar-build/grunt-cli/npm-debug.log
npm ERR! not ok code 0
--------------------------------

Regards


2013/6/25 laurent bernabe <laurent.bernabe at gmail.com>

> I've deleted the .npm directory.
> I've also reset the git folder as the problem was not solved.
>
> And I am building all from the beginning.
>
> I will tell you if this time it works.
>
> Regards
>
>
> 2013/6/25 Daniel Narvaez <dwnarvaez at gmail.com>
>
>> On 25 June 2013 17:17, laurent bernabe <laurent.bernabe at gmail.com> wrote:
>>
>>> Yes, I did installed npm directly from Ubuntu before.
>>>
>>> And the fact that my user can't access it may be because I reinstalled
>>> Ubuntu (in order to have 13.04 version) but I kept my /home partition.
>>>
>>> Maybe I should delete it (as super admin) and try again : should it be
>>> right ?
>>>
>>
>> Well, deleting ~/.npm should solve this issue, but if you have
>> permissions screwed up on your home you are likely to get other random
>> issues... That's something you really need to fix properly if you want your
>> system to work.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130625/dbbbe185/attachment.html>


More information about the Sugar-devel mailing list