Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on call to path.resolve #1

Open
adityamukho opened this issue Jul 27, 2013 · 3 comments
Open

Error on call to path.resolve #1

adityamukho opened this issue Jul 27, 2013 · 3 comments

Comments

@adityamukho
Copy link

  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
Copy link
Author

Node version: v0.10.13

@emilianox
Copy link

+1

@mlabieniec
Copy link

+1 node v0.10.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants