just cloned the repo from github and insure that the files similar. also i
move the folder to desktop to avoid the removable drive and this same
error


npm WARN package.json [email protected] No repository field.

> [email protected] postinstall /home/hamada/Desktop/fxa-local-dev
> _scripts/postinstall.sh

sh: 1: _scripts/postinstall.sh: Permission denied

npm ERR! Linux 4.2.0-30-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "i"
npm ERR! node v4.4.4
npm ERR! npm  v2.4.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `_scripts/postinstall.sh`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the [email protected] postinstall script
'_scripts/postinstall.sh'.
npm ERR! This is most likely a problem with the fxa-local-dev package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     _scripts/postinstall.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls fxa-local-dev
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/hamada/Desktop/fxa-local-dev/npm-debug.log


Thanks Michiel for your help :D

On 22 May 2016 at 15:56, Michiel de Jong <[email protected]> wrote:

> Can you check if your local file /media/hamada/01D17ABF72829E00/repos/Firefox
> Acounts/package.json matches
> https://github.com/mozilla/fxa-local-dev/blob/master/package.json? It
> seems maybe /media/hamada/01D17ABF72829E00 is a removable drive that
> wasn't mounted, or was mounted at a different mount point at the time you
> ran `npm i`?
>
> Cheers,
> Michiel.
>
> On Sat, May 21, 2016 at 3:11 PM, Mohamed Hafez <[email protected]>
> wrote:
>
>> Hi All,
>>
>> I try to install the local version *fxa-local-dev *in Ubuntu*, *but i
>> get the following error when i run "npm i":
>>
>> npm ERR! install Couldn't read dependencies
>> npm ERR! Linux 4.2.0-30-generic
>> npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "i"
>> npm ERR! node v4.4.4
>> npm ERR! npm  v2.4.1
>> npm ERR! path /media/hamada/01D17ABF72829E00/repos/Firefox
>> Acounts/package.json
>> npm ERR! code ENOPACKAGEJSON
>> npm ERR! errno -2
>> npm ERR! syscall open
>>
>> npm ERR! package.json ENOENT: no such file or directory, open
>> '/media/hamada/01D17ABF72829E00/repos/Firefox Acounts/package.json'
>> npm ERR! package.json This is most likely not a problem with npm itself.
>> npm ERR! package.json npm can't find a package.json file in your current
>> directory.
>>
>> npm ERR! Please include the following file with any support request:
>> npm ERR!     /media/hamada/01D17ABF72829E00/repos/Firefox
>> Acounts/npm-debug.log
>>
>> who can I fix it?
>>
>> thanks
>>
>> --
>> [image: photo]
>> *Mohamed Hafez*
>> Mozilla Rep, Chairman Mozilla Egypt Community
>> m:(+2)01114792261 | e:[email protected] <[email protected]> |
>> w:http://mohamed7afezz.com/
>> <http://facebook.com/mohamed7afezz>  <http://twitter.com/Mohamed7afezz>
>> <http://instagram.com/mohamed7afezz>
>> <http://plus.google.com/u0+Mohamedhafezz>
>> <http://youtube.com/user/Mohamed7afezz>
>> <http://us.linkedin.com/in/mohamed7afezz>
>> <http://soundcloud.com/mohamed7afezz>  <http://about.me/mohamed7afezz>
>>
>> _______________________________________________
>> Dev-fxacct mailing list
>> [email protected]
>> https://mail.mozilla.org/listinfo/dev-fxacct
>>
>>
>


-- 
[image: photo]
*Mohamed Hafez*
Mozilla Rep, Chairman Mozilla Egypt Community
m:(+2)01114792261 | e:[email protected] <[email protected]> | w:
http://mohamed7afezz.com/
<http://facebook.com/mohamed7afezz>  <http://twitter.com/Mohamed7afezz>
<http://instagram.com/mohamed7afezz>
<http://plus.google.com/u0+Mohamedhafezz>
<http://youtube.com/user/Mohamed7afezz>
<http://us.linkedin.com/in/mohamed7afezz>
<http://soundcloud.com/mohamed7afezz>  <http://about.me/mohamed7afezz>
_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

Reply via email to