Error: invalid "instanceof" keyword value Promise

problem description

npm run dev
error: Error: invalid "instanceof" keyword value Promise
`

PS D:\work\new\201812\renren-fast-vue-master\renren-fast-vue-master> npm ru
n dev

> renren-fast-vue@1.2.2 dev D:\work\new\201812\renren-fast-vue-master\renre
n-fast-vue-master
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

D:\work\new\201812\renren-fast-vue-master\renren-fast-vue-master\node_modul
es\webpack\node_modules\ajv-keywords\keywords\instanceof.js:52
    throw new Error("invalid "instanceof" keyword value " + c);
    ^

Error: invalid "instanceof" keyword value Promise
    at getConstructor (D:\work\new\201812\renren-fast-vue-master\renren-fas
t-vue-master\node_modules\webpack\node_modules\ajv-keywords\keywords\instan
ceof.js:52:11)
    at Ajv.compile (D:\work\new\201812\renren-fast-vue-master\renren-fast-v
ue-master\node_modules\webpack\node_modules\ajv-keywords\keywords\instanceo
f.js:21:27)
    at Object.useCustomRule (D:\work\new\201812\renren-fast-vue-master\renr
en-fast-vue-master\node_modules\webpack\node_modules\ajv\lib\compile\index.
js:275:26)
    at Object.generate_custom [as code] (D:\work\new\201812\renren-fast-vue
-master\renren-fast-vue-master\node_modules\webpack\node_modules\ajv\lib\do
tjs\custom.js:32:24)
    at Object.generate_validate [as validate] (D:\work\new\201812\renren-fa
st-vue-master\renren-fast-vue-master\node_modules\webpack\node_modules\ajv\
lib\dotjs\validate.js:347:35)
    at Object.generate_anyOf [as code] (D:\work\new\201812\renren-fast-vue-
master\renren-fast-vue-master\node_modules\webpack\node_modules\ajv\lib\dot
js\anyOf.js:34:27)
    at generate_validate (D:\work\new\201812\renren-fast-vue-master\renren-
fast-vue-master\node_modules\webpack\node_modules\ajv\lib\dotjs\validate.js
:347:35)
    at localCompile (D:\work\new\201812\renren-fast-vue-master\renren-fast-

`

the environmental background of the problems and what methods you have tried

node V10.14.1
npm V6.5.0
webpack V4.2.8
webpack-dev-server V3.1.4

related codes

renrenfast-vue open source project execution npm run dev error
the key is that everything works normally before

what result do you expect? What is the error message actually seen?

look forward to knowing the cause of the error


throw new Error ('invalid" instanceof "keyword value' + c)

error throw new Error ('invalid "instanceof" keyword value' + c) solution
according to your error report, you have found something similar to your problem. Refer to


which version has the landlord downgraded to?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37206-3441b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37206-3441b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?