compoundjs / client-side

Client-side running on the same codebase as server-side.
http://compoundjs.github.com/client-side
7 stars 0 forks source link

Error on call to path.resolve #1

Open adityamukho opened 11 years ago

adityamukho commented 11 years ago
  1. Created a fresh compound project:

    $ compound init test
    
    $ cd test
    
    $ npm install
    
    $ npm install --save co-client
  2. Edited config/autoload.js: var defaultModules = [ 'jugglingdb', 'co-assets-compiler', 'co-client' ], developmentModules = []; ...
  3. Ran the server using: $ node .
  4. Got the following error stacktrace:

Compound server listening on 0.0.0.0:3000 within development environment

/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/required/index.js:144 throw err; ^ TypeError: /home/aditya/workspaces/eclipse/test/node_modules/co-client/lib/blank.js: Arguments to path.resolve must be strings at Object.exports.resolve (path.js:313:15) at Object.exports.relative (path.js:371:18) at Stream.write (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/insert-module-globals/index.js:63:35) at Stream.stream.write (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/through/index.js:25:11) at Stream.ondata (stream.js:51:26) at Stream.EventEmitter.emit (events.js:95:17) at drain (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/through/index.js:35:16) at Stream.stream.queue.stream.push (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/through/index.js:41:5) at Stream.write (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/index.js:161:18) at Stream.stream.write (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/through/index.js:25:11) at Stream.ondata (stream.js:51:26) at Stream.EventEmitter.emit (events.js:95:17) at drain (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/through/index.js:35:16) at Stream.stream.queue.stream.push (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/through/index.js:41:5) at done (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/module-deps/index.js:38:24) at /home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/browserify/node_modules/module-deps/index.js:54:28 at /home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/required/index.js:140:24 at next (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/required/index.js:29:20) at from_source (/home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/required/index.js:104:7) at /home/aditya/workspaces/eclipse/test/node_modules/co-client/node_modules/required/index.js:128:13 at fs.js:266:14 at Object.oncomplete (fs.js:107:15)

adityamukho commented 11 years ago

Node version: v0.10.13

emilianox commented 11 years ago

+1

mlabieniec commented 10 years ago

+1 node v0.10.15