You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pulled the *qrcodescan.in repo whenever I run it it is giving me the below error?
Can some help to resove the issue or maybe change the code to normal react js structure because I am even failing to build the project.
INFO: Gracefully shutting down. Please wait...
node:internal/modules/cjs/loader:995
const err = new Error(message);
^
Error: Cannot find module './lib/encoding'
Require stack:
- C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\negotiator\index.js
- C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\accepts\index.js
- C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\compression\index.js
- C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\serve\bin\serve.js
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at loadModule (C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\negotiator\index.js:108:16)
at Negotiator.encodings (C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\negotiator\index.js:56:28)
at Accepts.encoding.Accepts.encodings (C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\accepts\index.js:143:26)
at ServerResponse.onResponseHeaders (C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\compression\index.js:178:27)
at ServerResponse.writeHead (C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\on-headers\index.js:35:16)
at module.exports (C:\Users\machilika.l\Documents\projects\qrcodescan.in\node_modules\serve-handler\src\index.js:754:11) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\machilika.l\\Documents\\projects\\qrcodescan.in\\node_modules\\negotiator\\index.js',
'C:\\Users\\machilika.l\\Documents\\projects\\qrcodescan.in\\node_modules\\accepts\\index.js',
'C:\\Users\\machilika.l\\Documents\\projects\\qrcodescan.in\\node_modules\\compression\\index.js',
'C:\\Users\\machilika.l\\Documents\\projects\\qrcodescan.in\\node_modules\\serve\\bin\\serve.js'
]
}
Node.js v18.12.1
ERROR: "serve" exited with 1.
The text was updated successfully, but these errors were encountered:
I have pulled the *qrcodescan.in repo whenever I run it it is giving me the below error?
Can some help to resove the issue or maybe change the code to normal react js structure because I am even failing to build the project.
The text was updated successfully, but these errors were encountered: