isaacs/npm — Issue #1523: windows can't install stylus
Author: joesomozawork
Created: 2011-10-09 23:09:00+00:00
State: open

1. Add "C:\projects\node\bin" to PATH
2. Copy node.exe to bin folder.
3. Install git with linux stuff and choose option to add to your environment.

Environment

# no spaces in set
set TEMP=C:\projects\node\tmp
set TMP=C:\projects\node\tmp
set HOME=C:\projects\node
set USERPROFILE=C:\projects\node

npm

# use cmd instead of PowerShell
cd 'C:\projects\node'
git config --system http.sslcainfo /bin/curl-ca-bundle.crt
git clone --recursive git://github.com/isaacs/npm.git
cd npm
node cli.js install npm -gf
# C:\projects\node\bin\npm -> C:\projects\node\lib\node_modules\npm\bin\npm.js
# C:\projects\node\bin\npm_g -> C:\projects\node\lib\node_modules\npm\bin\npm.js
# C:\projects\node\bin\npm-g -> C:\projects\node\lib\node_modules\npm\bin\npm.js
# npm@1.0.94 C:\projects\node\lib\node_modules\npm

packages

npm install -g coffee-script
# C:\projects\node\bin\coffee -> C:\projects\node\lib\node_modules\coffee-script\bin\coffee
# C:\projects\node\bin\cake -> C:\projects\node\lib\node_modules\coffee-script\bin\cake
# coffee-script@1.1.2 C:\projects\node\lib\node_modules\coffee-script
coffee --version
npm install -g underscore
# underscore@1.2.0 C:\projects\node\lib\node_modules\underscore
npm install -g backbone
# underscore@1.2.0 C:\projects\node\lib\node_modules\backbone\node_modules\underscore
# backbone@0.5.3 C:\projects\node\lib\node_modules\backbone
npm install -g sass
# sass@0.5.0 C:\projects\node\lib\node_modules\sass
npm install -g eco
# strscan@1.0.1 C:\projects\node\lib\node_modules\eco\node_modules\strscan
# coffee-script@1.1.2 C:\projects\node\lib\node_modules\eco\node_modules\coffee-script
# eco@1.1.0-rc-1 C:\projects\node\lib\node_modules\eco

npm install -g stylus

Could not unpack C:\projects\node\npm-cache\stylus\0.17.0\package.tgz to C:\projects\node\npm-cache\stylus\0.17.0
Error: ENOENT, The operation completed successfully.
'C:\projects\node\npm-cache\stylus\0.17.0\package\package.json'
Report this *entire* log at:

or email it to:

System Windows_NT 6.1.7601
command "node" "C:\\projects\\node\\lib\\node_modules\\npm\\bin\\npm.js" "install" "-g" "stylus"
cwd C:\projects\node
node -v v0.5.7
npm -v 1.0.94
path C:\projects\node\npm-cache\stylus\0.17.0\package\package.json
code ENOENT

Additional logging details can be found in:
C:\projects\node\npm-debug.log
not ok

JADE ALSO

npm install -g jade
couldn't unpack C:\projects\node\tmp\npm-1318201431342\1318201431342-0.7191384572070092\tmp.tgz to C:\projects\node\tmp\npm-1318201431342\1318201431342-0.7191384572070092\contents
Error: UNKNOWN, The operation completed successfully.
'C:/projects/node/tmp/npm-1318201431342/1318201431342-0.7191384572070092/contents/___package.npm/package'
Report this *entire* log at:

or email it to:

System Windows_NT 6.1.7601
command "node" "C:\\projects\\node\\lib\\node_modules\\npm\\bin\\npm.js" "instal
l" "-g" "jade"
cwd C:\projects\node
node -v v0.5.7
npm -v 1.0.94
path C:/projects/node/tmp/npm-1318201431342/1318201431342-0.7191384572070092/contents/___package.npm/package
code UNKNOWN

Additional logging details can be found in:
C:\projects\node\npm-debug.log
not ok