[Sugar-devel] Problem with SugarBuild in Ubuntu 13.04
laurent bernabe
laurent.bernabe at gmail.com
Tue Jun 25 11:48:50 EDT 2013
I've changed my tmp folder permissions and owner : and the build seems to
go on.
No I think I'll be able to run Sugar.
Otherwise I'll mail the possible problem
Thanks
2013/6/25 Daniel Narvaez <dwnarvaez at gmail.com>
> Not quite the same, now it's failing on the tmp dir. You should probably
> check why you are not able to access those files exactly (which
> permissions/owner they have etc).
>
>
> On 25 June 2013 17:36, laurent bernabe <laurent.bernabe at gmail.com> wrote:
>
>> 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.
>>>>
>>>
>>>
>>
>
>
> --
> Daniel Narvaez
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130625/bcba66ad/attachment.html>
More information about the Sugar-devel
mailing list