Closed aperritano closed 6 years ago
TEacher link should work. For student, need to first start a session, see the session code like xyz3. Then login is local host:3000/xyz3?login=peter. Or without the login if you’ve already logged in (no session)
On Mon, 4 Dec 2017 at 18:21, Anthony Perritano notifications@github.com wrote:
When running FROG for the first time on a new instance, the links (Teacher, Chen) from the intro page fail. They go to a page that says "No session specified"
However, even following the instructions localhost:3000?login=peter fail too. Chrome keeps trying to change it to http://localhost:3000/?login=peter.
How do you login into the system?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chili-epfl/FROG/issues/720, or mute the thread https://github.com/notifications/unsubscribe-auth/AADwh9aa2UbSFf5Q9TsvSeGEVu6fO3olks5s9Cn8gaJpZM4Q1Ah2 .
-- http://reganmian.net/blog -- Random Stuff that Matters
That did not work "ERROR No such session"
Do you have any docs that explain the session code and how those are managed? I remember at one point students were presented with a list of sessions on login. Has that been removed?
this could be the problem, any ideas why " Not Found: frog-utils@1.0.0"
Did you do git clean -fdx
, and then ./initial_setup.sh`? If it still doesn't work, show me your entire output of initial_setup.
small progress: removed node, npm cache, cloned a new FROG instance. Install the abs lastest node 9.2.0. That error-warning went away.
still have this error:
Unable to resolve some modules:
"bufferutil" in /Users/aperritano/dev/FROG/frog/node_modules/ws/lib/BufferUtil.js (os.osx.x86_64) "utf-8-validate" in /Users/aperritano/dev/FROG/frog/node_modules/ws/lib/Validation.js (os.osx.x86_64) "hiredis" in /Users/aperritano/dev/FROG/frog/node_modules/redis-parser/lib/hiredis.js (os.osx.x86_64)
If you notice problems related to these missing modules, consider running:
meteor npm install --save bufferutil utf-8-validate hiredis
npm ERR! A complete log of this run can be found in: npm ERR! /Users/aperritano/.npm/_logs/2017-12-04T20_38_44_726Z-debug.log
Still have login issues.
Running git clean and initial_setup. It looks good:
~/dev/FROG develop ./initial_setup.sh 14:42:14 Installing Yarn npm WARN deprecated yarn@1.3.2: It is recommended to install Yarn using the native installation method for your environment. See https://yarnpkg.com/en/docs/install
Then running meteor
[[[[[ ~/dev/FROG/frog ]]]]]
=> Started proxy.
Unable to resolve some modules:
"bufferutil" in /Users/aperritano/dev/FROG/frog/node_modules/ws/lib/BufferUtil.js (os.osx.x86_64) "utf-8-validate" in /Users/aperritano/dev/FROG/frog/node_modules/ws/lib/Validation.js (os.osx.x86_64) "hiredis" in /Users/aperritano/dev/FROG/frog/node_modules/redis-parser/lib/hiredis.js (os.osx.x86_64)
If you notice problems related to these missing modules, consider running:
meteor npm install --save bufferutil utf-8-validate hiredis
=> Started MongoDB.
W20171204-14:45:29.319(-6)? (STDERR) Note: you are using a pure-JavaScript implementation of bcrypt.
W20171204-14:45:29.397(-6)? (STDERR) While this implementation will work correctly, it is known to be
W20171204-14:45:29.397(-6)? (STDERR) approximately three times slower than the native implementation.
W20171204-14:45:29.397(-6)? (STDERR) In order to use the native implementation instead, run
W20171204-14:45:29.397(-6)? (STDERR)
W20171204-14:45:29.397(-6)? (STDERR) meteor npm install --save bcrypt
W20171204-14:45:29.398(-6)? (STDERR)
W20171204-14:45:29.398(-6)? (STDERR) in the root directory of your application.
I20171204-14:45:29.611(-6)? server/share-db-manager.js(34:4) Running shareDB server
=> Started your app.
=> App running at: http://localhost:3000/
is this related to the unresolved modules issue?
Unable to resolve some modules:
"bufferutil" in /Users/aperritano/dev/FROG/frog/node_modules/ws/lib/BufferUtil.js (os.osx.x86_64) "utf-8-validate" in /Users/aperritano/dev/FROG/frog/node_modules/ws/lib/Validation.js (os.osx.x86_64) "hiredis" in /Users/aperritano/dev/FROG/frog/node_modules/redis-parser/lib/hiredis.js (os.osx.x86_64)
and the FROG UTILS issue:
npm ERR! code E404 npm ERR! 404 Not Found: frog-utils@1.0.0
Should the frog utils problem be spawned into a separate issue?
There is no frog-utils problem, you should not use npm with FROG. This is mentioned at some places in the documentation - perhaps should be mentioned in more places. Feel free to do specific PRs to improve documentation.
I'm having the same issue. I logged in without the "slug" and now even with localhost:3000/xyz3?login=peter
or just the home page, I get "No session specified". How can I reset the cookie/session/cache?
Note I didn't use npm
, I just followed the instructions as before.
I've restarted meteor
and I still get the same issue.
Hi, not sure exactly what the problem is - if you want to switch session, you just type in the new session slug. If you want to switch student you do antoher ?login=studentname. I'm around until 5PM if you want to drop by for a quick troubleshooting session.
On Mon, Jun 4, 2018 at 3:08 PM, Juan Carlos Farah notifications@github.com wrote:
I've restarted meteor and I still get the same issue.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/chili-epfl/FROG/issues/720#issuecomment-394348128, or mute the thread https://github.com/notifications/unsubscribe-auth/AADwh4qmY8Be62fY8VkWNizvyzmOWCM5ks5t5TE3gaJpZM4Q1Ah2 .
-- http://reganmian.net/blog -- Random Stuff that Matters
Just created a new issue (#1178) in case it's not related to the aforementioned one. Will try to reproduce it on my laptop so that I can pop by.
When running FROG for the first time on a new instance, the links (Teacher, Chen) from the intro page fail. They go to a page that says "No session specified"
However, even following the instructions localhost:3000?login=peter fail too. Chrome keeps trying to change it to http://localhost:3000/?login=peter.
How do you login into the system?