After reinstalling the node, a new error occurred.
helloworld@1.0.0 electron:start
npm run build && electron --inspect=5858 ./
helloworld@1.0.0 build
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“accept-charset”’ of type ‘string | string’ is not assignable
to ‘string’ index type ‘string’.
9 [key: string]: string;
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“accept-encoding”’ of type ‘string | string’ is not assignable
to ‘string’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“accept-language”’ of type ‘string | string’ is not assignable
to ‘string’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“content-length”’ of type ‘string | number’ is not assignable to
‘string’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“proxy-authenticate”’ of type ‘string | string’ is not assigna
ble to ‘string’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“sec-websocket-extensions”’ of type ‘string | string’ is not a
ssignable to ‘string’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“sec-websocket-protocol”’ of type ‘string | string’ is not ass
ignable to ‘string’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“set-cookie”’ of type ‘string | string’ is not assignable to ’
string’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘“www-authenticate”’ of type ‘string | string’ is not assignabl
e to ‘string’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘accept’ of type ‘string | string’ is not assignable to 'string
’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘connection’ of type ‘string | string’ is not assignable to ‘st
ring’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘cookie’ of type ‘string | string’ is not assignable to 'string
’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘dav’ of type ‘string | string’ is not assignable to ‘string’ i
ndex type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘link’ of type ‘string | string’ is not assignable to ‘string’
index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘prgama’ of type ‘string | string’ is not assignable to 'string
’ index type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/builder-util-runtime/out/httpExecutor.d.ts:9:5 - error TS2411: Property ‘via’ of type ‘string | string’ is not assignable to ‘string’ i
ndex type ‘string’.
9 [key: string]: string;
~~~~~~~~~~~~~~~~~~~~~~
Found 16 errors in the same file, starting at: node_modules/builder-util-runtime/out/httpExecutor.d.ts:9
Error running your project for electron!