🥇Steve Jobs🥇
🚀To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.🚀
🌿Ralph Waldo Emerson🌿
this is very smart chatting app using socket.io.
D:\Angular\chat-application-socket.io>npm run dev
[email protected] dev D:\Angular\chat-application-socket.io
concurrently "npm run server" "npm run client"
[0]
[0] > [email protected] server D:\Angular\chat-application-socket.io
[0] > nodemon server.js
[0]
[1]
[1] > [email protected] client D:\Angular\chat-application-socket.io
[1] > npm start --prefix client
[1]
[0] [nodemon] 2.0.5
[0] [nodemon] to restart at any time, enter rs
[0] [nodemon] watching path(s): .
[0] [nodemon] watching extensions: js,mjs,json
[0] [nodemon] starting node server.js
[1]
[1] > [email protected] start D:\Angular\chat-application-socket.io\client
[1] > react-scripts start
[1]
[0] Server running on port 5000
[0] MongoDB Successfully Connected
[1]
[1] D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:303
[1] throw new BrowserslistError(
[1] ^
[1] Error [BrowserslistError]: D:\Angular\chat-application-socket.io\client contains both browserslist and package.json with browsers
[1] at D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:303:15
[1] at eachParent (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:48:18)
[1] at Object.findConfig (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:279:20)
[1] at Function.loadConfig (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:212:37)
[1] at checkBrowsers (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\browsersHelper.js:45:32)
[1] at Object. (D:\Angular\chat-application-socket.io\client\node_modules\react-scripts\scripts\start.js:83:1)
[1] at Module._compile (internal/modules/cjs/loader.js:1114:14)
[1] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
[1] at Module.load (internal/modules/cjs/loader.js:979:32)
[1] at Function.Module._load (internal/modules/cjs/loader.js:819:12) {
[1] browserslist: true
[1] }
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! [email protected] start: react-scripts start
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the [email protected] start script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output
above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2023-09-05T06_47_23_872Z-debug.log
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! [email protected] client: npm start --prefix client
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the [email protected] client script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output
above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2023-09-05T06_47_23_933Z-debug.log
[1] npm run client exited with code 1
[0] JsonWebTokenError: jwt must be provided
[0] at Object.module.exports [as verify] (D:\Angular\chat-application-socket.io\node_modules\jsonwebtoken\verify.js:53:17)
[0] at D:\Angular\chat-application-socket.io\routes\api\users.js:15:23
[0] at Layer.handle [as handle_request] (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\layer.js:95:5)
[0] at next (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\route.js:137:13)
[0] at Route.dispatch (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\route.js:112:3)
[0] at Layer.handle [as handle_request] (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\layer.js:95:5)
[0] at D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:281:22[0] at Function.process_params (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:335:12)
[0] at next (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:275:10)
[0] at Function.handle (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:174:3)
[0] at router (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:47:12)
[0] at Layer.handle [as handle_request] (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\layer.js:95:5)
[0] at trim_prefix (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:317:13)
[0] at D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:284:7
[0] at Function.process_params (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:335:12)
[0] at next (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:275:10)
[0] Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
[0] at new NodeError (internal/errors.js:322:7)
[0] at ServerResponse.setHeader (_http_outgoing.js:561:11)
[0] at ServerResponse.header (D:\Angular\chat-application-socket.io\node_modules\express\lib\response.js:771:10)
[0] at ServerResponse.contentType (D:\Angular\chat-application-socket.io\node_modules\express\lib\response.js:599:15)
[0] at ServerResponse.sendStatus (D:\Angular\chat-application-socket.io\node_modules\express\lib\response.js:357:8)
[0] at D:\Angular\chat-application-socket.io\routes\api\users.js:39:9
[0] at Layer.handle [as handle_request] (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\layer.js:95:5)
[0] at next (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\route.js:137:13)
[0] at Route.dispatch (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\route.js:112:3)
[0] at Layer.handle [as handle_request] (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\layer.js:95:5)
[0] at D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:281:22[0] at Function.process_params (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:335:12)
[0] at next (D:\Angular\chat-application-socket.io\node_modules\express\lib\router\index.js:
D:\Angular\chat-application-socket.io>npm run dev
[email protected] dev D:\Angular\chat-application-socket.io
concurrently "npm run server" "npm run client"
[1]
[1] ┌───────────────────────────────────────────────────────────┐
[1] │ npm update check failed │
[1] │ Try running with sudo or get access │
[1] │ to the local update config store via │
[1] │ sudo chown -R
[1] └───────────────────────────────────────────────────────────┘
[0]
[0] > [email protected] server D:\Angular\chat-application-socket.io
[0] > nodemon server.js
[0]
[1]
[1] > [email protected] client D:\Angular\chat-application-socket.io
[1] > npm start --prefix client
[1]
[0] [nodemon] 2.0.5
[0] [nodemon] to restart at any time, enter rs
[0] [nodemon] watching path(s): .
[0] [nodemon] watching extensions: js,mjs,json
[0] [nodemon] starting node server.js
[1]
[1] > [email protected] start D:\Angular\chat-application-socket.io\client
[1] > react-scripts start
[1]
[0] Server running on port 5000
[0] MongoDB Successfully Connected
[1]
[1] D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:303
[1] throw new BrowserslistError(
[1] ^
[1] Error [BrowserslistError]: D:\Angular\chat-application-socket.io\client contains both browserslist and package.json with browsers
[1] at D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:303:15
[1] at eachParent (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:48:18)
[1] at Object.findConfig (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:279:20)
[1] at Function.loadConfig (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:212:37)
[1] at checkBrowsers (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\browsersHelper.js:45:32)
[1] at Object. (D:\Angular\chat-application-socket.io\client\node_modules\react-scripts\scripts\start.js:83:1)
[1] at Module._compile (internal/modules/cjs/loader.js:1114:14)
[1] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
[1] at Module.load (internal/modules/cjs/loader.js:979:32)
[1] at Function.Module._load (internal/modules/cjs/loader.js:819:12) {
[1] browserslist: true
[1] }
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! [email protected] start: react-scripts start
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the [email protected] start script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output
above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2023-09-05T06_49_27_650Z-debug.log
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! [email protected] client: npm start --prefix client
[1] npm ERR! Exit status 1
npm ERR!
[1] npm ERR! Failed at the [email protected] client script.
D:\Angular\chat-application-socket.io>npm run dev
[email protected] dev D:\Angular\chat-application-socket.io
concurrently "npm run server" "npm run client"
[0]
[0] ┌───────────────────────────────────────────────────────────┐
[0] │ npm update check failed │
[0] │ Try running with sudo or get access │
[0] │ to the local update config store via │
[0] │ sudo chown -R
[0] └───────────────────────────────────────────────────────────┘
[1]
[1] > [email protected] client D:\Angular\chat-application-socket.io
[1] > npm start --prefix client
[1]
[0]
[0] > [email protected] server D:\Angular\chat-application-socket.io
[0] > nodemon server.js
[0]
[0] [nodemon] 2.0.5
[0] [nodemon] to restart at any time, enter rs
[0] [nodemon] watching path(s): .
[0] [nodemon] watching extensions: js,mjs,json
[0] [nodemon] starting node server.js
[1]
[1] > [email protected] start D:\Angular\chat-application-socket.io\client
[1] > react-scripts start
[1]
[0] Server running on port 5000
[0] MongoDB Successfully Connected
[1]
[1] D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:303
[1] throw new BrowserslistError(
[1] ^
[1] Error [BrowserslistError]: D:\Angular\chat-application-socket.io\client contains both browserslist and package.json with browsers
[1] at D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:303:15
[1] at eachParent (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:48:18)
[1] at Object.findConfig (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:279:20)
[1] at Function.loadConfig (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\node_modules\browserslist\node.js:212:37)
[1] at checkBrowsers (D:\Angular\chat-application-socket.io\client\node_modules\react-dev-utils\browsersHelper.js:45:32)
[1] at Object. (D:\Angular\chat-application-socket.io\client\node_modules\react-scripts\scripts\start.js:83:1)
[1] at Module._compile (internal/modules/cjs/loader.js:1114:14)
[1] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
[1] at Module.load (internal/modules/cjs/loader.js:979:32)
[1] at Function.Module._load (internal/modules/cjs/loader.js:819:12) {
[1] browserslist: true
[1] }
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! [email protected] start: react-scripts start
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the [email protected] start script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output
above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2023-09-05T06_51_21_913Z-debug.log
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! [email protected] client: npm start --prefix client
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the [email protected] client script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output
above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2023-09-05T06_51_21_959Z-debug.log
[1] npm run client exited with code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.