小编moh*_*edi的帖子

离子问题:[ng]模式验证失败,出现以下错误:[ng]数据路径“ .builders ['app-shell']”应具有必需的属性'class'

之后,我将ionic4更新为ionic5,并尝试运行离子应用程序,服务器已损坏,并显示此错误:

[ng]模式验证失败,并出现以下错误:[ng]数据路径“ .builders ['app-shell']”应具有必需的属性'class'。

[ERROR] ng意外关闭(退出代码1)。


我尝试更改@ angular-devkit / build-angular节点程序包,因为我已通过将回退时间从^ 0.800.0回滚到^ 0.12.4来解决了此问题。通过这种方式:npm install @ angular-devkit / build-angular npm通过这种方式安装@ angular-devkit / build-angular @ 0.12.4:

"@angular-devkit/build-angular": "^0.800.0"

"@angular-devkit/build-angular": "^0.10.0"
Run Code Online (Sandbox Code Playgroud)

它解决了问题,但给我这个错误:

[ng]模式验证失败,出现以下错误:[ng]数据路径“”不应具有其他属性(es5BrowserSupport)。

[ERROR] ng意外关闭(退出代码1)。

仍然不起作用


这是包json:

`{
  "name": "ionicchattingapp",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "https://ionicframework.com/",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "^7.2.2",
    "@angular/core": "^7.2.2",
    "@angular/forms": "^7.2.2",
    "@angular/http": "^7.2.2",
    "@angular/platform-browser": "^7.2.2",
    "@angular/platform-browser-dynamic": "^7.2.2",
    "@angular/router": …
Run Code Online (Sandbox Code Playgroud)

ionic-framework angular

24
推荐指数
2
解决办法
2万
查看次数

提高flutter中使用google账号登录后google账号图片的质量

当我使用他的谷歌帐户获取登录用户的图像时,我从他的谷歌帐户获取的图像质量很差。

那么如何提高我从用户谷歌帐户获得的图像的质量?

我使用谷歌帐户获取用户登录的图像,如下所示:

 final GoogleSignInAuthentication googleSignInAuthentication =
            await googleSignInAccount.authentication;

        final token = googleSignInAuthentication;
// her i use this statement to take the google account image :  
              userImageUrl = googleSignInAccount.photoUrl
            
Run Code Online (Sandbox Code Playgroud)

google-account flutter

1
推荐指数
1
解决办法
577
查看次数