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
node-express-convert-certs-and-sys-token\bin\www:26varkey=fs.readFileSync(__dirname+'../certs/selfsigned.key'));^
SyntaxError: Unexpectedtoken')'atObject.compileFunction(node:vm:360:18)atwrapSafe(node:internal/modules/cjs/loader:1088:15)atModule._compile(node:internal/modules/cjs/loader:1123:27)atModule._extensions..js(node:internal/modules/cjs/loader:1213:10)atModule.load(node:internal/modules/cjs/loader:1037:32)atModule._load(node:internal/modules/cjs/loader:878:12)atFunction.executeUserEntryPoint[asrunMain](node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47Node.jsv18.12.1
fixing the bug by removing the extra parenthes. Then another error comes along:
Error: ENOENT: nosuchfileordirectory,open'C:\Users\REDACTED\node-express-convert-certs-and-sys-token\bin../certs/selfsigned.key'atObject.openSync(node:fs:600:3)atObject.readFileSync(node:fs:468:35)atObject.<anonymous>(C:\Users\REDACTED\node-express-convert-certs-and-sys-token\bin\www:24:14)atModule._compile(node:internal/modules/cjs/loader:1159:14)atModule._extensions..js(node:internal/modules/cjs/loader:1213:10)atModule.load(node:internal/modules/cjs/loader:1037:32)atModule._load(node:internal/modules/cjs/loader:878:12)atFunction.executeUserEntryPoint[asrunMain](node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47{errno: -4058,syscall: 'open',code: 'ENOENT',path: 'C:\\Users\\REDACTED\\SuperOffice\\node-express-convert-certs-and-sys-token\\bin../certs/selfsigned.key'}
replacing the formatting of the path to remove bin:
On
npm run dev
i receive an error:fixing the bug by removing the extra parenthes. Then another error comes along:
replacing the formatting of the path to remove bin:
after applying the "fixes" the app stands at a stand still:
The text was updated successfully, but these errors were encountered: