Code Monkey home page Code Monkey logo

study-room's People

Contributors

dependabot[bot] avatar sudheer121 avatar sudheer1212 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

study-room's Issues

Web Client always not working?

Hello to the author, why did I press the generation button on the page after launching the service and the client there was no response? I have tried to redeploy many times and still has no effect.

Feature: Listen button

For now all users that can join the audio stream are admins. I've extended userController by

    const role = users.length === 0 ? 'admin' : 'visitor'
    const user = {id,name,room,role};
...
    const role = usersInVoice.length === 0 ? 'admin' : 'visitor'
    const user = {id,name,room,role};

and replaced user:admin with user:user.role. In result, we have two roles of users.
Furthermore, visitors may get Listen button instead of admn's Join voice

Not able to run locally

I am not able to run it locally after npm install and when I run npm start I get the error start npm ERR! missing script: start
I tried starting from the package.json but when I successfully started it and viewed it in localhost3000 I am getting such as 'react-scripts' is not recognized as an internal or external command, operable program or batch file and a suggestion yyou can also update readme.md so that it will be helpful to people
please help me thank you

Add auto room ID generation feature

  • Add a button on homepage that generates a new room ID.
  • You may or may not communicate with the server for generating unique room ID. Tip => external APIs ?
  • For pull request => fork and create a new branch named "room ID feature" and then make changes

An extensive problem for my previous issue

I followed your procedure and the server folder(node index.js) works fine but when I do npm start in client folder I get this error

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

"webpack-dev-server": "3.11.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of webpack-dev-server was detected higher up in the tree:

C:\Users\Lenovo\node_modules\webpack-dev-server (version: 3.11.1)

Manually installing incompatible versions is known to cause hard-to-debug issues.

If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.

To fix the dependency tree, try following the steps below in the exact order:

  1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.
  2. Delete node_modules in your project folder.
  3. Remove "webpack-dev-server" from dependencies and/or devDependencies in the package.json file in your project folder.
  4. Run npm install or yarn, depending on the package manager you use.

In most cases, this should be enough to fix the problem.
If this has not helped, there are a few other things you can try:

  1. If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead.
    This may help because npm has known issues with package hoisting which may get resolved in future versions.

  2. Check if C:\Users\Lenovo\node_modules\webpack-dev-server is outside your project directory.
    For example, you might have accidentally installed something in your home folder.

  3. Try running npm ls webpack-dev-server in your project folder.
    This will tell you which other package (apart from the expected react-scripts) installed webpack-dev-server.

If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That would permanently disable this preflight check in case you want to proceed anyway.

P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!

npm ERR! code 1
npm ERR! path C:\Users\Lenovo\Desktop\Video\Study-Room-main\client
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c react-scripts start

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Lenovo\AppData\Local\npm-cache_logs\2021-03-06T07_52_04_228Z-debug.log

Thank you in advance and I had a doubt if I comment the twilio part of code the project should run without the twilio api's and sdk right

Facing the same issue

I am facing the same issue. I have checked your website. I have tried the mentioned steps in readme. I have tried the server side part of your code, Still I'm facing the same isssue. Please can you help me debug it . When I try to run your repo locally users don't reload and I face an Invalid Frame Header issue as well. Have you made changes while hosting the server side of the code because that github repo I tried to run locally does't load users , but your website does them well. Please guide me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.