Comments (11)
same problem idk what is causing it.
from video-meeting.
same problem
from video-meeting.
try to set "server": "set NODE_ENV=production && nodemon app.js "
in package.json
,problem may be caused by NODE_ENV
,
i solved by modify scripts
from video-meeting.
@wk989898 still giving me the same error after modifying, can you help me with this?
Thanks
from video-meeting.
Did you run yarn install
and yarn dev
?
You can use npm install
and npm run dev
if you prefer
from video-meeting.
@wk989898 still giving me the same error after modifying, can you help me with this?
Thanks
"server": "set NODE_ENV=production&&nodemon app.js"
remove space (run on windows)
from video-meeting.
still not working
from video-meeting.
solved on windows:
if you run dev
, modify "dev": "concurrently -n 'server,client' -c 'red,green' \"nodemon app.js\" \"set NODE_ENV=dev&& set PORT=8000&&react-scripts start\""
if you run server
,make sure you build it and modify "server": "set NODE_ENV=production&&nodemon app.js"
from video-meeting.
solved on windows:
if you rundev
, modify"dev": "concurrently -n 'server,client' -c 'red,green' \"nodemon app.js\" \"set NODE_ENV=dev&& set PORT=8000&&react-scripts start\""
if you runserver
,make sure you build it and modify"server": "set NODE_ENV=production&&nodemon app.js"
Same error again!
_yarn run v1.22.5
$ concurrently -n 'server,client' -c 'red,green' "nodemon app.js" "set NODE_ENV=dev&& set PORT
=8000&&react-scripts start"
[server] [nodemon] 2.0.6
[server] [nodemon] to restart at any time, enter `rs`
[server] [nodemon] watching path(s): *.*
[server] [nodemon] watching extensions: js,mjs,json
[server] [nodemon] starting `node app.js`
[server] listening on 4001
[client] i 「wds」: Project is running at http://192.168.43.91/
[client] i 「wds」: webpack output is served from
[client] i 「wds」: Content not from webpack is served from C:\Users\rubyd\Desktop\Coding\Video-Meeting\public
[client] i 「wds」: 404s will fallback to /
[client] Starting the development server...
[client]
[client] Compiled with warnings.
[client]
[client] ./src/Video.js
[client] Line 127:39: Function declared in a loop contains unsafe references to variable(s) 'connections', 'socket', 'connections' no-loop-func
[client] Line 153:41: Function declared in a loop contains unsafe references to variable(s) 'connections', 'socket', 'connections' no-loop-func
[client] Line 189:39: Function declared in a loop contains unsafe references to variable(s) 'connections', 'socket', 'connections' no-loop-func
[client] Line 350:43: Function declared in a loop contains unsafe references to variable(s) 'connections', 'socket', 'connections' no-loop-func
[client]
[client] ./src/Home.js
[client] Line 21:8: 'url' is already defined no-redeclare
[client]
[client] Search for the keywords to learn more about each warning.
[client] To ignore, add // eslint-disable-next-line to the line before.
[client]_
Here are the outputs I got in the terminal & I am still getting the Cannot GET / error.
@wk989898 @0x5eba
from video-meeting.
solved on windows:
if you rundev
, modify"dev": "concurrently -n 'server,client' -c 'red,green' \"nodemon app.js\" \"set NODE_ENV=dev&& set PORT=8000&&react-scripts start\""
if you runserver
,make sure you build it and modify"server": "set NODE_ENV=production&&nodemon app.js"
Same error again!
_yarn run v1.22.5 $ concurrently -n 'server,client' -c 'red,green' "nodemon app.js" "set NODE_ENV=dev&& set PORT =8000&&react-scripts start" [server] [nodemon] 2.0.6 [server] [nodemon] to restart at any time, enter `rs` [server] [nodemon] watching path(s): *.* [server] [nodemon] watching extensions: js,mjs,json [server] [nodemon] starting `node app.js` [server] listening on 4001 [client] i 「wds」: Project is running at http://192.168.43.91/ [client] i 「wds」: webpack output is served from [client] i 「wds」: Content not from webpack is served from C:\Users\rubyd\Desktop\Coding\Video-Meeting\public [client] i 「wds」: 404s will fallback to / [client] Starting the development server... [client] [client] Compiled with warnings. [client] [client] ./src/Video.js [client] Line 127:39: Function declared in a loop contains unsafe references to variable(s) 'connections', 'socket', 'connections' no-loop-func [client] Line 153:41: Function declared in a loop contains unsafe references to variable(s) 'connections', 'socket', 'connections' no-loop-func [client] Line 189:39: Function declared in a loop contains unsafe references to variable(s) 'connections', 'socket', 'connections' no-loop-func [client] Line 350:43: Function declared in a loop contains unsafe references to variable(s) 'connections', 'socket', 'connections' no-loop-func [client] [client] ./src/Home.js [client] Line 21:8: 'url' is already defined no-redeclare [client] [client] Search for the keywords to learn more about each warning. [client] To ignore, add // eslint-disable-next-line to the line before. [client]_
Here are the outputs I got in the terminal & I am still getting the Cannot GET / error.
@wk989898 @0x5eba
it will automatically open browser. if not.please open http://localhost:8000/
from video-meeting.
Hello sir, I have faced the same issue. But you can see that error shows that "NODE_ENV" is not recognized.
So, you can install it in that project by following command - "npm install -g win-node-env
". Then try "yarn run dev
".
That worked for me and also should fix your issue
from video-meeting.
Related Issues (20)
- Not able to run HOT 22
- not working
- How to deploy it on web hosting
- microphone not working while sharing a screen HOT 2
- Screen Capture Is Reversed (left side to right side) HOT 1
- Is this compatible with chrome? HOT 2
- 404 error not found HOT 3
- Chat isn't cleared HOT 1
- Server Error
- Are the videos encrypted end to end / secure? HOT 2
- web cam light is still on, when I click the close camera button HOT 1
- How do i add other broswer support
- After the project is deployed, enter the URL and click Go 404. How do I set it? HOT 1
- This project sucks HOT 2
- some of the variables on the server are not defined
- What is the reason the app does not work on safari? HOT 1
- Pre-defined Username HOT 1
- Socket don't match when deploy
- Audio Not Working when screensharing.
- Cannot GET / on starting the application HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from video-meeting.