Hi Andrew,
It looks to me like npm inc. has decided not to support the version of npm (the
executable) that is packaged for CentOS (and probably RedHat) anymore.
I have been able to work around this by installing the node binaries from
https://nodejs.org/en/download/ <https://nodejs.org/en/download/> which contain
an updated version of npm.
I guess this is what happens when you don't run Ubuntu these days...
--
Louis Munro
[email protected] <mailto:[email protected]> :: www.inverse.ca
<http://www.inverse.ca/>
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and
PacketFence (www.packetfence.org <http://www.packetfence.org/>)
> On Jun 27, 2017, at 10:18, Louis Munro via PacketFence-users
> <[email protected]> wrote:
>
> Hi Andrew,
> Something like this?
>
> # npm install -g grunt-cli
> npm ERR! Linux 3.10.0-514.21.2.el7.x86_64
> npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "grunt-cli"
> npm ERR! node v6.10.3
> npm ERR! npm v3.10.10
>
> npm ERR! failed to fetch from registry: https://registry.npmjs.org/grunt-cli
> <https://registry.npmjs.org/grunt-cli>
>
> I get that error too, so don't feel too lonely.
> I am investigating.
>
> --
> Louis Munro
> [email protected] <mailto:[email protected]> :: www.inverse.ca
> <http://www.inverse.ca/>
> +1.514.447.4918 x125 :: +1 (866) 353-6153 x125
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and
> PacketFence (www.packetfence.org <http://www.packetfence.org/>)
>
>> On Jun 27, 2017, at 09:29, Torry, Andrew via PacketFence-users
>> <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>
>> Has anyone managed to get the NPM INSTALL –G GRUNT-CLI commands to work on
>> the PacketFence_ZEN_7.1 server image?
>>
>> I can install NODEJS and NPM but the NPM INSTALL –G GRUNT-CLI command is
>> failing with a repository error all the time.
>>
>> I need this in order to change the /usr/pf/html/common/styles.css to our own
>> corporate colour scheme.
>>
>> Andrew
>>
>>
>> Andrew Torry
>>
>> Senior Infrastructure Engineer
>>
>>
>> Tel: 01326 370760
>>
>> Email: [email protected] <mailto:[email protected]>
>>
>>
>> <image9414d0.PNG>
>> <imagec77ff2.PNG>
>> <imageb27f14.PNG> <image57697a.PNG>
>> <image9c121c.PNG>
>> <image49bc02.PNG>
>> <image1b2bf5.PNG> <image6c31e1.PNG> <https://twitter.com/falmouthexeter>
>> <image0b353d.PNG> <image5fe179.PNG>
>> <https://www.facebook.com/falmouthexeter> <imageeed16e.PNG>
>> <imagefaed7b.PNG> <https://www.instagram.com/falmouthexeterplus/>
>> <image67a2ce.PNG> <image8bba54.PNG>
>> <https://www.youtube.com/channel/UC5-Jq4vTOhWgYoJJDYrZHWw>
>> <imagedf23bd.PNG>
>> <image28a2f5.PNG>
>> <image8b745f.PNG>
>>
>> Falmouth Exeter Plus is an exempt charity established by Falmouth University
>> and the University of Exeter to deliver their shared Higher Education
>> services in Cornwall.
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org <http://slashdot.org/>!
>> http://sdm.link/slashdot_______________________________________________
>> <http://sdm.link/slashdot_______________________________________________>
>> PacketFence-users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org!
> http://sdm.link/slashdot_______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users