kenperlin / chalktalk

MIT License
2.12k stars 137 forks source link

localhost:11235 #35

Closed dianabald closed 6 years ago

dianabald commented 6 years ago

Pardon me. I'm new and a novice when it comes to working with GitHub so forgive me for sounding like one. I followed all of the installation instructions for ChalkTalk and when I try and run ChalkTalk in my browser by typing in localhost:11235, I get this message: "localhost refused to connect". Any tips are appreciated.

KTRosenberg commented 6 years ago

Just to make sure for the sake of troubleshooting, did you follow the "run server" step for your OS before visiting localhost:11235 in your browser? If you have Chrome, the run command should open automatically.

dianabald commented 6 years ago

Yes, in the Windows terminal into /chalktalk ... but,

node server/main.js is not in there... I see a "server" folder but not "node server" and in the "server" folder, I see "main.js" and I ran it from there.

The node.js is stored in my Program Files. I took screen shots of everything below.

[image: Inline image 1][image: Inline image 2][image: Inline image 3]

I cloned the ChalkTalk file into my Documents folder, could that be a problem?

Or, perhaps the npm install is a problem? I'm not sure I did this properly.

[image: Inline image 4]

Thanks for helping me try and troubleshoot this... I really want to use ChalkTalk.

Best, Diana

On Sat, Nov 11, 2017 at 9:31 PM, Karl Toby Rosenberg < notifications@github.com> wrote:

Just to make sure for the sake of troubleshooting, did you follow the "run server" step for your OS before visiting localhost:11235 in your browser? If you have Chrome, the run command should open automatically.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kenperlin/chalktalk/issues/35#issuecomment-343709069, or mute the thread https://github.com/notifications/unsubscribe-auth/AgB8cuA6kzkMi33JpZyZWvV9d2EdJDD7ks5s1liRgaJpZM4Qatm2 .

-- Diana Bald dianabald@gmail.com 917.808.5224

KTRosenberg commented 6 years ago

The node part is a command. server/main.js is an argument. You should enter the full command node server/main.js from the root of the Chalktalk directory, then (on Windows) go to localhost in your browser. If issues persist, it is possible that you didn't do the npm step in the correct directory. Also, I cannot see your screenshots.

dianabald commented 6 years ago

Thanks. After I got your note, I entered the full command node server/main.js from the root of the Chaltalk directory, and I go this runtime error message:

Windows Script Host Script: C:\Users\DianaBald\Documents\GitHub\chalktalk\server\main.js Line: 1 Char: 1 Error: Object Expected Code: 800A138F Source: Microsoft JScript runtime error

On Sat, Nov 11, 2017 at 9:53 PM, Karl Toby Rosenberg < notifications@github.com> wrote:

The node part is a command. server/main.js is an argument. You should enter the full command node server/main.js from the root of the Chalktalk directory, then (on Windows) go to localhost in your browser. If issues persist, it is possible that you didn't do the npm step in the correct directory. Also, I cannot see your screenshots.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kenperlin/chalktalk/issues/35#issuecomment-343709776, or mute the thread https://github.com/notifications/unsubscribe-auth/AgB8cmaTi2BvrvnuaE8V8CUc__uATMzFks5s1l2SgaJpZM4Qatm2 .

-- Diana Bald dianabald@gmail.com 917.808.5224

KTRosenberg commented 6 years ago

I assume that you entered npm install after installing node and cding to ./chalktalk/server/ Do you have the latest version of node js for your system?

dianabald commented 6 years ago

Yes to both questions.

On Sat, Nov 11, 2017 at 10:31 PM, Karl Toby Rosenberg < notifications@github.com> wrote:

I assume that you did the following command after installing node: cd ./chalktalk/server/ Do you have the latest version of node js installed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kenperlin/chalktalk/issues/35#issuecomment-343710906, or mute the thread https://github.com/notifications/unsubscribe-auth/AgB8cp-bBkqx2YV0qw4FcUDn1wLQSO-Iks5s1mZ3gaJpZM4Qatm2 .

-- Diana Bald dianabald@gmail.com 917.808.5224

KTRosenberg commented 6 years ago

hm, I will look into this more closely as soon as possible.

dianabald commented 6 years ago

Ok, thank you Karl.

On Sat, Nov 11, 2017 at 10:35 PM, Karl Toby Rosenberg < notifications@github.com> wrote:

hm, I will look into this more closely as soon as possible.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kenperlin/chalktalk/issues/35#issuecomment-343711050, or mute the thread https://github.com/notifications/unsubscribe-auth/AgB8cu1J8spZLDATFXx9Gtv2YJSzpqMKks5s1md5gaJpZM4Qatm2 .

-- Diana Bald dianabald@gmail.com 917.808.5224

KTRosenberg commented 6 years ago

I assume that you did the following command after installing node: cd ./chalktalk/server/ Do you have the latest version

loremIpsum1771 commented 6 years ago

What is the console output when you enter the command node -v ?

dianabald commented 6 years ago

When I enter the command node -v, I get: v8.9.1

On Mon, Nov 13, 2017 at 11:08 AM, Ceyron Hawthorne <notifications@github.com

wrote:

What is the console output when you enter the command node -v ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kenperlin/chalktalk/issues/35#issuecomment-343967718, or mute the thread https://github.com/notifications/unsubscribe-auth/AgB8cnbdJdrKrucLtYZ4WsIV8fr1XwVRks5s2Gl2gaJpZM4Qatm2 .

-- Diana Bald dianabald@gmail.com 917.808.5224

dianabald commented 6 years ago

Yes, I did enter the command cd ./chalktalk/server/ and yes, I have the latest version.

On Mon, Nov 13, 2017 at 6:50 AM, Karl Toby Rosenberg < notifications@github.com> wrote:

I assume that you did the following command after installing node: cd ./chalktalk/server/ Do you have the latest version

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kenperlin/chalktalk/issues/35#issuecomment-343896521, or mute the thread https://github.com/notifications/unsubscribe-auth/AgB8cstm8uraodDI1sCsWl5q4Gued4_xks5s2C0ggaJpZM4Qatm2 .

-- Diana Bald dianabald@gmail.com 917.808.5224

KTRosenberg commented 6 years ago

Hmm, maybe you could save the console output showing all of your steps. That might help us figure what is happening.

dianabald commented 6 years ago

Sure, here you go:

Microsoft Windows [Version 10.0.16299.64] (c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\DianaBald\Documents\GitHub\chalktalk\server>node -v v8.9.1

C:\Users\DianaBald\Documents\GitHub\chalktalk\server>npm install

bufferutil@1.2.1 install C:\Users\DianaBald\Documents\GitHub\chalktalk\server\node_modules\bufferutil node-gyp rebuild

C:\Users\DianaBald\Documents\GitHub\chalktalk\server\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19) gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21) gyp ERR! System Windows_NT 10.0.16299 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\DianaBald\Documents\GitHub\chalktalk\server\node_modules\bufferutil gyp ERR! node -v v8.9.1 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok

utf-8-validate@1.2.2 install C:\Users\DianaBald\Documents\GitHub\chalktalk\server\node_modules\utf-8-validate node-gyp rebuild

C:\Users\DianaBald\Documents\GitHub\chalktalk\server\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19) gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21) gyp ERR! System Windows_NT 10.0.16299 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\DianaBald\Documents\GitHub\chalktalk\server\node_modules\utf-8-validate gyp ERR! node -v v8.9.1 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN chalktalk@0.0.1 No description npm WARN chalktalk@0.0.1 No repository field. npm WARN chalktalk@0.0.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 (node_modules\bufferutil): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 install: node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 (node_modules\utf-8-validate): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 install: node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

added 5 packages in 1.905s

C:\Users\DianaBald\Documents\GitHub\chalktalk\server>node main.js HTTP server listening on port 11235

On Sat, Nov 18, 2017 at 4:10 PM, Karl Toby Rosenberg < notifications@github.com> wrote:

Hmm, maybe you could save the console output showing all of your steps. That might help us figure what is happening.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kenperlin/chalktalk/issues/35#issuecomment-345471472, or mute the thread https://github.com/notifications/unsubscribe-auth/AgB8cnKUpCGLNH9DTDPkwrRMGA2_HvMNks5s30fIgaJpZM4Qatm2 .

-- Diana Bald dianabald@gmail.com 917.808.5224

Kronopath commented 6 years ago

From the error message, it looks like you might be missing python. Try making sure you have python installed before running npm install.

You can find the most recent python installers for Windows here: https://www.python.org/downloads/windows/

KTRosenberg commented 6 years ago

Also, if that fails, the following seems to be a discussion of similar issues: https://github.com/nodejs/node-v0.x-archive/issues/4047

loremIpsum1771 commented 6 years ago

It looks like you might not have set the path environment variable for python: gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. Try doing this

dianabald commented 6 years ago

Hi Kronopath, KTRosenberg and loremlpsum1771. I installed Python and set the path environment variable for python and it worked! I'm using Chalktalk!

Thank you!

loremIpsum1771 commented 6 years ago

Good work diana!

KTRosenberg commented 6 years ago

@loremIpsum1771 We definitely need to elaborate on the Windows instructions in the wiki then. I think that this issue is common among Windows users.