nkashyap / console.io

JavaScript Remote Web Console
http://nkashyap.github.io/console.io
189 stars 20 forks source link

Path problem #29

Closed soundstep closed 9 years ago

soundstep commented 10 years ago

Hi,

The console.io server is not resolving the correct paths for me:

- npm install -g xconsole.io
- consoleio
- go to http://localhost:8082/console.io.js
- Error: ENOENT, stat './dist/client/console.io.min.js'

The only way I can get the server resolving the paths correctly is to do the following:

- npm install xconsole.io
- cd node_modules/xconsole.io
- node server/main.js

I think the server.js is missing the use of some __dirname and path.resolve()

My setup:

Mac OSX 10.9.1 Node v0.10.26 console.io 0.2.3-0

coderaiser commented 9 years ago

Could you please update console.io on npm to version where path problem fixed?