kevindeland / cuantos-caminos

1 stars 3 forks source link

Error: Cannot find module '../config' #1

Closed loretoparisi closed 8 years ago

loretoparisi commented 8 years ago
macbookproloreto:cuantos-caminos admin$ npm install
npm WARN package.json web-api-code-example@0.0.1 No repository field.
WARN engine rapgenius-js@0.1.2: wanted: {"node":"0.10.x"} (current: {"node":"0.12.9","npm":"2.14.9"})
npm WARN deprecated CSSselect@0.7.0: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
querystring@0.2.0 node_modules/querystring

underscore@1.8.3 node_modules/underscore

async@1.5.2 node_modules/async

cookie-parser@1.3.2 node_modules/cookie-parser
├── cookie-signature@1.0.4
└── cookie@0.1.2

chalk@1.1.1 node_modules/chalk
├── escape-string-regexp@1.0.4
├── supports-color@2.0.0
├── ansi-styles@2.1.0
├── strip-ansi@3.0.0 (ansi-regex@2.0.0)
└── has-ansi@2.0.0 (ansi-regex@2.0.0)

express@4.0.0 node_modules/express
├── utils-merge@1.0.0
├── debug@0.8.1
├── cookie-signature@1.0.3
├── methods@0.1.0
├── parseurl@1.0.1
├── qs@0.6.6
├── merge-descriptors@0.0.2
├── buffer-crc32@0.2.1
├── escape-html@1.0.1
├── range-parser@1.0.0
├── fresh@0.2.2
├── cookie@0.1.0
├── path-to-regexp@0.1.2
├── type-is@1.0.0 (mime@1.2.11)
├── send@0.2.0 (mime@1.2.11)
├── accepts@1.0.0 (negotiator@0.3.0, mime@1.2.11)
└── serve-static@1.0.1 (send@0.1.4)

request@2.34.0 node_modules/request
├── forever-agent@0.5.2
├── aws-sign2@0.5.0
├── qs@0.6.6
├── tunnel-agent@0.3.0
├── oauth-sign@0.3.0
├── json-stringify-safe@5.0.1
├── mime@1.2.11
├── node-uuid@1.4.7
├── tough-cookie@2.2.1
├── form-data@0.1.4 (async@0.9.2, combined-stream@0.0.7)
├── http-signature@0.10.1 (assert-plus@0.1.5, asn1@0.1.11, ctype@0.5.3)
└── hawk@1.0.0 (cryptiles@0.2.2, sntp@0.2.4, boom@0.4.2, hoek@0.9.1)

rapgenius-js@0.1.2 node_modules/rapgenius-js
├── superagent@0.12.4 (methods@0.0.1, cookiejar@1.3.0, emitter-component@0.0.6, mime@1.2.5, qs@0.5.2, formidable@1.0.9)
└── cheerio@0.10.8 (entities@0.5.0, underscore@1.4.4, htmlparser2@2.6.0, cheerio-select@0.0.3)

watson-developer-cloud@0.10.6 node_modules/watson-developer-cloud
├── object.pick@1.1.1
├── cookie@0.2.3
├── vcap_services@0.1.7
├── async@1.4.2
├── isstream@0.1.2
├── extend@3.0.0
├── csv-stringify@0.0.8
├── object.omit@2.0.0 (is-extendable@0.1.1, for-own@0.1.3)
├── string@3.3.1
├── request@2.64.0 (aws-sign2@0.5.0, forever-agent@0.6.1, caseless@0.11.0, stringstream@0.0.5, tunnel-agent@0.4.2, form-data@1.0.0-rc3, oauth-sign@0.8.1, json-stringify-safe@5.0.1, combined-stream@1.0.5, node-uuid@1.4.7, qs@5.1.0, tough-cookie@2.2.1, mime-types@2.1.9, http-signature@0.11.0, bl@1.0.2, hawk@3.1.3, har-validator@1.8.0)
└── solr-client@0.6.0 (duplexer@0.1.1, httperror@0.2.3, JSONStream@1.0.7, request@2.63.0, json-bigint@0.1.4)

and then

macbookproloreto:cuantos-caminos admin$ node app.js 
module.js:338
    throw err;
          ^
Error: Cannot find module '../config'
    at Function.Module._resolveFilename (
loretoparisi commented 8 years ago

ah so:

macbookproloreto:cuantos-caminos admin$ cp config.js.sample config.js