node-error 1

BackEnd_Ash.log·2021년 8월 6일
0

error

목록 보기
2/4

📌 TypeError: Class constructor Model cannot be invoked without 'new'

i don't know why do this error occur?? please....

search google

reference
reference2

I wrote the above in lib of tsconfig.json

so, I changed es2020 in lib to "target" : "es2020"

{
	"compilerOptions": {
		"strict": true,
		"esModuleInterop": true,
		"moduleResolution": "node",
		"target": "es2020",
		"typeRoots": [
			"./types"
		]
	},
}

and i tried again signup

as a result,

good job!!! :)

profile
꾸준함이란 ... ?

0개의 댓글