我在运行时收到此错误nx e2e
我的 Package.json 文件
{
"name": "lpg",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "nx",
"postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main",
"serve": "nx serve",
"start": "node server.js",
"build": "nx build",
"test": "nx test"
},
"private": true,
"dependencies": {
"@angular/animations": "~13.1.0",
"@angular/cdk": "^13.1.1",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/flex-layout": "^13.0.0-beta.36",
"@angular/forms": "~13.1.0",
"@angular/material": "^13.1.1",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"@ngrx/component-store": "~13.0.0",
"@ngrx/effects": "~13.0.0",
"@ngrx/entity": "~13.0.0",
"@ngrx/router-store": "~13.0.0",
"@ngrx/store": "~13.0.0",
"@nrwl/angular": "13.4.5",
"angularx-qrcode": "^13.0.3",
"bootstrap": "^5.1.3",
"express": "^4.17.2",
"rxjs": "~7.4.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.1.0",
"@angular-eslint/eslint-plugin": "~13.0.1",
"@angular-eslint/eslint-plugin-template": "~13.0.1",
"@angular-eslint/template-parser": "~13.0.1",
"@angular/cli": "~13.1.0",
"@angular/compiler-cli": "~13.1.0",
"@angular/language-service": "~13.1.0",
"@ngrx/schematics": "~13.0.0",
"@ngrx/store-devtools": "~13.0.0",
"@nrwl/cli": "13.4.5",
"@nrwl/cypress": "13.4.5",
"@nrwl/eslint-plugin-nx": "13.4.5",
"@nrwl/jest": "13.4.5",
"@nrwl/linter": "13.4.5",
"@nrwl/nx-cloud": "13.0.2",
"@nrwl/storybook": "13.4.5",
"@nrwl/tao": "13.4.5",
"@nrwl/workspace": "13.4.5",
"@storybook/addon-essentials": "~6.4.5",
"@storybook/angular": "~6.4.5",
"@storybook/builder-webpack5": "~6.4.5",
"@storybook/manager-webpack5": "~6.4.5",
"@types/jest": "27.0.2",
"@types/node": "14.14.33",
"@typescript-eslint/eslint-plugin": "~5.3.0",
"@typescript-eslint/parser": "~5.3.0",
"cypress": "^9.1.0",
"eslint": "8.2.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-cypress": "^2.10.3",
"jasmine-marbles": "~0.9.1",
"jest": "27.2.3",
"jest-preset-angular": "11.0.0",
"prettier": "^2.3.1",
"ts-jest": "27.0.5",
"typescript": "~4.4.3"
}
}
该问题在 github https://github.com/storybookjs/storybook/issues/16977上提出,现在标记为已关闭。
我已经通过运行升级到最新的 Nx 版本nx migrate latest
。我仍然面临同样的错误。我该如何解决这个问题?