fedwiki / wiki-server

Federated Wiki client and server in Node.js
Other
153 stars 35 forks source link

npm start fails on Windows #7

Closed christiansmith closed 11 years ago

christiansmith commented 11 years ago

On Windows, installing wiki globally and running the executable does start a server. However, running npm start from a cloned repository fails (after successfully installing npm packages and building the client).

C:\Practice\wiki>npm start

> wiki@0.0.3 start C:\Practice\wiki
> ./bin/server.js

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! wiki@0.0.3 start: `./bin/server.js`
npm ERR! `cmd "/c" "./bin/server.js"` failed with 1
npm ERR!
npm ERR! Failed at the wiki@0.0.3 start script.
npm ERR! This is most likely a problem with the wiki package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./bin/server.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls wiki
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! cwd C:\Practice\wiki
npm ERR! node -v v0.8.16
npm ERR! npm -v 1.1.69
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Practice\wiki\npm-debug.log
npm ERR! not ok code 0