Open waqaskhan137 opened 7 years ago
To be honest I haven't ran this on windows before, and I think you may be missing stuff from your path. Windows a lot of times doesn't add them automagically.
If you want to play with this project I recommend starting up a free workspace at http://c9.io which is where I developed this on.
Also here are some resources to get the git issue and bower issue resolved on windows:
Hope this helps!
Hi Shannon Duncan, Really thankful for the real time collaborative editor, I have Implemented as you said, but while I am running it getting an error
VM39:1 GET http://localhost:0000/socket.io/?EIO=3&transport=polling&t=Ls3rkd7 404 (Not Found) (anonymous) @ VM39:1 i.create @ polling-xhr.js:264 i @ polling-xhr.js:165 o.request @ polling-xhr.js:92 o.doPoll @ polling-xhr.js:122 r.poll @ polling.js:118 r.doOpen @ polling.js:63 r.open @ transport.js:80 r.open @ socket.js:246 r @ socket.js:120 r @ socket.js:29 r.open.r.connect @ manager.js:226 (anonymous) @ manager.js:540
And I have a doubt, from where does the socket.io.js file is added. In my application, script files are added as below order but have doubted the socket.io.js file. Is that path is right or wrong? I don't know.
<link rel="stylesheet" href="/bower_components/codemirror/lib/codemirror.css">
<script src="/bower_components/codemirror/mode/javascript/javascript.js"></script>
<script src="bower_components/socket.io-client/dist/socket.io.js"></script>
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
I could not solve the error, I think the server is not connected. Please help me.
Thanks PraveenKumar. G
I have git installed, in fact, I have cloned this project in Webstorm using git. Tried reinstalling the Git but I still get the same error which is given below while I try to install all dependencies. Note: Running Webstorm as Administrator.
C:\Users\User\WebstormProjects\realtime-chat-RethinkDB>npm install -g bower C:\Users\User\AppData\Roaming\npm\bower -> C:\Users\User\AppData\Roaming\npm\node_modules\bower\bin\bower bower@1.8.0 C:\Users\User\AppData\Roaming\npm\node_modules\bower
C:\Users\User\WebstormProjects\realtime-chat-RethinkDB>npm install npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer npm WARN
git config --get remote.origin.url
returned wrong result (https://github.com/mr-doc/mr-doc.git) undefined npm WARNgit config --get remote.origin.url
returned wrong result (https://github.com/mr-doc/mr-doc.git) undefined npm ERR! git clone https://github.com/mr-doc/mr-doc.git undefined npm ERR! git clone https://github.com/mr-doc/mr-doc.git undefined npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.35","npm":"1.4.28"}) npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.35","npm":"1.4.28"}) npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH.npm ERR! System Windows_NT 6.2.9200 npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\Users\User\WebstormProjects\realtime-chat-RethinkDB npm ERR! node -v v0.10.35 npm ERR! npm -v 1.4.28 npm ERR! code ENOGIT npm ERR! not ok code 0
C:\Users\User\WebstormProjects\realtime-chat-RethinkDB>bower install 'bower' is not recognized as an internal or external command, operable program or batch file.