Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
4 results tagged npm  ✕
Can't force git to use https:// instead of git:// · Issue #5257 · npm/npm · GitHub https://github.com/npm/npm/issues/5257
Thu May 17 17:51:23 2018 archive.org
QRCode
thumbnail

I fixed this issue for several of my colleagues by running the following two commands:

git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://

One thing we noticed is that the .gitconfig used is not always the one expected so if you are on a machine that modified the home path to a shared drive, you need to ensure that your .gitconfig is the same on both your shared drive and in c:\users[your user]\

npm git cntlm
node.js - How/why does npm recommend not running as root? - Stack Overflow https://stackoverflow.com/questions/4938592/how-why-does-npm-recommend-not-running-as-root
Thu Apr 5 22:05:31 2018 archive.org
QRCode
thumbnail

The simple answer is web servers should never be run as root for well known security reasons, so this goes for npm commands as well.

To start fresh, remove prior Node.js and npm installs as well as these files/directories:

mv ~/.npmrc ~/.npmrc~prior
mv ~/.npm ~/.npm~prior
mv ~/tmp ~/tmp.~prior
mv ~/.npm-init.js ~/.npm-init.js~prior

Solution: Install Node.js (which comes with npm) as NON root (no sudo)

Download Source Code directly from https://nodejs.org/en/download/

Execute the below as yourself (Linux/OS X)

cd node-v8.1.2 # into expanded source dir

export NODE_PARENT=${HOME}/node-v8.1.2 # put this into your ~/.bashrc

Feel free to change above export to whatever location is appropriate

./configure --prefix=${NODE_PARENT}
make -j4 # for dual core ... use -j8 for quad core CPU
make install

which puts the binaries for Node.js and npm as well as its modules repository into $NODE_PARENT, a $USER owned dir which then allows you to issue subsequent npm install xxx commands as yourself.

To reach the binaries for node and npm alter your PATH environment variables in your ~/.bashrc:

export PATH=${NODE_PARENT}/bin:${PATH}
export NODE_PATH=${NODE_PARENT}/lib/node_modules

Then to install packages into that directory (global), as opposed to the current directory (local) always pass in the -g flag (global):

npm install -g someModule

NOTE - at no time are you executing anything npm or node related as root / sudo.

nodejs npm permission root
NodeJs - fun_plug - Installer npm - Memiks http://memiks.fr/article3/nodejs-fun-plug-installer-npm
Fri Feb 17 19:01:27 2012 archive.org
QRCode
thumbnail

Un petit article que j'ai écrit suite à la publication de mon package permettant d'avoir nodejs sur les NAS utilisant fun_plug ffp 0.7

Cet article explique comment installer npm et palier au manque du binaire /usr/bin/env et son replacement par /ffp/bin/env

fun_plug ffp nodejs npm nas
Node.JS partie 3 - Première application Node.js et HTML5 - Web Tambouille http://www.web-tambouille.fr/2011/03/8/node-js-partie-3-premiere-application-node-js-et-html5-express-socket-io.html
Wed Feb 15 01:11:12 2012 archive.org
QRCode
thumbnail

http://howtonode.org/hello-node
http://blog.new-bamboo.co.uk/2009/12/7/real-time-online-activity-monitor-example-with-node-js-and-websocket
http://joyeur.com/2010/12/10/installing-node-and-npm/

http://npmjs.org/

http://coffeescript.org/

npm node nodejs how html5 runtime
4759 links, including 1673 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn