Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to run #7

Open
m-thirumal opened this issue Nov 29, 2024 · 1 comment
Open

Not able to run #7

m-thirumal opened this issue Nov 29, 2024 · 1 comment

Comments

@m-thirumal
Copy link

m-thirumal commented Nov 29, 2024

Getting the following error

> [email protected] start
> concurrently "npm run server" "npm run client"

[1] 
[1] > [email protected] client
[1] > npx serve -s build
[1] 
[0] 
[0] > [email protected] server
[0] > node proxy-server.js
[0] 
[0] Simple gremlin-proxy server listening on port 3001!
[1] (node:12836) ExperimentalWarning: CommonJS module /usr/local/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/local/lib/node_modules/npm/node_modules/supports-color/index.js using require().
[1] Support for loading ES Module in require() is an experimental feature and might change at any time
[1] (Use `node --trace-warnings ...` to show where the warning was created)
[1] node:internal/modules/cjs/loader:1246
[1]   const err = new Error(message);
[1]               ^
[1] 
[1] Error: Cannot find module 'mime-db'
[1] Require stack:
[1] - /Users/thirumal/.npm/_npx/aab42732f01924e5/node_modules/compressible/index.js
[1] - /Users/thirumal/.npm/_npx/aab42732f01924e5/node_modules/compression/index.js
[1]     at Function._resolveFilename (node:internal/modules/cjs/loader:1246:15)
[1]     at Function._load (node:internal/modules/cjs/loader:1072:27)
[1]     at TracingChannel.traceSync (node:diagnostics_channel:322:14)
[1]     at wrapModuleLoad (node:internal/modules/cjs/loader:216:24)
[1]     at Module.require (node:internal/modules/cjs/loader:1337:12)
[1]     at require (node:internal/modules/helpers:139:16)
[1]     at Object.<anonymous> (/Users/thirumal/.npm/_npx/aab42732f01924e5/node_modules/compressible/index.js:16:10)
[1]     at Module._compile (node:internal/modules/cjs/loader:1572:14)
[1]     at Object..js (node:internal/modules/cjs/loader:1709:10)
[1]     at Module.load (node:internal/modules/cjs/loader:1315:32) {
[1]   code: 'MODULE_NOT_FOUND',
[1]   requireStack: [
[1]     '/Users/thirumal/.npm/_npx/aab42732f01924e5/node_modules/compressible/index.js',
[1]     '/Users/thirumal/.npm/_npx/aab42732f01924e5/node_modules/compression/index.js'
[1]   ]
[1] }
[1] 
[1] Node.js v23.1.0
[1] npm run client exited with code 1
@Siddharthgolecha
Copy link

Hi, I have fixed things here. I'll push some code here which will fix things up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants