Closed dianabald closed 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.
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
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.
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
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?
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
hm, I will look into this more closely as soon as possible.
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
I assume that you did the following command after installing node: cd ./chalktalk/server/ Do you have the latest version
What is the console output when you enter the command node -v
?
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
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
Hmm, maybe you could save the console output showing all of your steps. That might help us figure what is happening.
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.
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.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
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/
Also, if that fails, the following seems to be a discussion of similar issues: https://github.com/nodejs/node-v0.x-archive/issues/4047
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
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!
Good work diana!
@loremIpsum1771 We definitely need to elaborate on the Windows instructions in the wiki then. I think that this issue is common among Windows users.
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.