Skip to content

Instantly share code, notes, and snippets.

@cranic
cranic / gist:2842628
Created May 31, 2012 10:54
App.js Windows build fails
C:\Users\MyUser\Desktop\appjs>npm install appjs
npm http GET https://registry.npmjs.org/appjs
npm http 304 https://registry.npmjs.org/appjs
npm http GET https://registry.npmjs.org/mime/1.2.5
npm http GET https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/mime/1.2.5
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/tar
@cranic
cranic / gist:2842658
Created May 31, 2012 10:58
npm-debug.log
info it worked if it ends with ok
verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'install',
verbose cli 'appjs' ]
info using [email protected]
info using [email protected]
verbose C:\Program Files (x86)\nodejs\\node.exe node symlink
verbose config file C:\Users\MyUser\.npmrc
verbose config file C:\Program Files (x86)\nodejs\etc\npmrc
C:\Users\MyUser\Desktop\appjs>npm install appjs
npm http GET https://registry.npmjs.org/appjs
npm http 304 https://registry.npmjs.org/appjs
npm http GET https://registry.npmjs.org/mime/1.2.5
npm http GET https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/mime/1.2.5
npm http 304 https://registry.npmjs.org/tar
npm http 304 https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/fstream
C:\Users\MyUser\Desktop\appjs>node app.js
module.js:477
process.dlopen(filename, module.exports);
^
Error: Unable to load shared library C:\Users\MyUser\Desktop\appjs\node_modules\appjs\build\Release\appjs.node
at Object..node (module.js:477:11)
at Module.load (module.js:353:31)
at Function._load (module.js:311:12)
at Module.require (module.js:359:17)
c:\>ping lojamysoul.com.br
Disparando lojamysoul.com.br [75.127.118.6] com 32 bytes de dados:
Resposta de 75.127.118.6: bytes=32 tempo=158ms TTL=50
Resposta de 75.127.118.6: bytes=32 tempo=181ms TTL=50
Resposta de 75.127.118.6: bytes=32 tempo=165ms TTL=50
Resposta de 75.127.118.6: bytes=32 tempo=162ms TTL=50
Estat¡sticas do Ping para 75.127.118.6:
Pacotes: Enviados = 4, Recebidos = 4, Perdidos = 0 (0% de
var fs = require('fs');
var express = require('express');
var options = {
key: fs.readFileSync('caminho/para/a/chave'),
cert: fs.readFileSync('caminho/para/o/certificado')
};
var app = express.createServer(options);
Error: The specified procedure could not be found.
at Object.Module._extensions..node (module.js:480:11)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (C:\Users\MyUser\node_modules\mailparser\node_modules\mimelib\mime-functions.js:1:75)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
C:\Users\Me\Desktop\iconv>node app.js
module.js:480
process.dlopen(filename, module.exports);
^
Error: The specified procedure could not be found.
at Object.Module._extensions..node (module.js:480:11)
at Module.load (module.js:356:32)
Disparando minezila.com.br [198.101.159.97] com 32 bytes de dados:
Resposta de 198.101.159.97: bytes=32 tempo=3200ms TTL=50
Esgotado o tempo limite do pedido.
Resposta de 198.101.159.97: bytes=32 tempo=1459ms TTL=50
Esgotado o tempo limite do pedido.
Esgotado o tempo limite do pedido.
Esgotado o tempo limite do pedido.
Resposta de 198.101.159.97: bytes=32 tempo=1137ms TTL=50
Resposta de 198.101.159.97: bytes=32 tempo=1001ms TTL=50
Resposta de 198.101.159.97: bytes=32 tempo=897ms TTL=50
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'search',
1 verbose cli 'unref' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 warn Building the local index for the first time, please be patient
6 verbose url raw /-/all