我有一个离子项目正在进行中,我收到了控制台错误
[ng] NOT SUPPORTED: option jsonPointers. Deprecated jsPropertySyntax can be used instead.
[ng] An unhandled exception occurred: Cannot read property 'allErrors' of undefined
[ng] See "/private/var/folders/3f/chjh7cx96mv1zkr690ytb0yr0000gn/T/ng-RX4zto/angular-errors.log" for further details.
angular-errors.log文件如下所示
[error] TypeError: Cannot read property 'allErrors' of undefined
at module.exports (/Users/skel/web/scratk/gettwoit-frontend/node_modules/ajv-errors/index.js:4:18)
at Object.<anonymous> (/Users/skel/web/scratk/gettwoit-frontend/node_modules/webpack-dev-server/node_modules/schema-utils/src/validateOptions.js:22:1)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/skel/web/scratk/gettwoit-frontend/node_modules/webpack-dev-server/node_modules/schema-utils/src/index.js:7:25)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
1条答案
按热度按时间vhmi4jdf1#
所以在发布这个问题之后,我改变了我看待这个问题的方式。
我看到了这个问题/答案AJV and ajv-formats latest must be broken in React
我从@Tsar Bomba找到了关于安装的答案
为我工作,我能够再次为我的项目服务