小编Aja*_*rge的帖子

在运行默认应用程序时,Flutter 在切换到 Master 后抛出“日志阅读器意外停止”

PS D:\flutterApp\myapp> flutter run
Running Gradle task 'assembleDebug'...

Running Gradle task 'assembleDebug'... Done                       203.1s (!)
? Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...                         7.7s
Error waiting for a debug connection: The log reader stopped unexpectedly
Error launching application on Redmi Note 4.
Run Code Online (Sandbox Code Playgroud)

早些时候Error waiting for a debug connection: Bad state: No element,我从stable切换到master,现在它在运行时抛出这个错误。应用程序正在安装但因抛出此错误而崩溃。

dart flutter

13
推荐指数
4
解决办法
1万
查看次数

如何在 WSL2 上安装 git-lfs?

fatal: 'lfs' appears to be a git command, but we were not
able to execute it. Maybe git-lfs is broken?
Run Code Online (Sandbox Code Playgroud)

在kali或者ubuntu上安装git-lfs很简单,但是步骤不太好找。就我而言,这是因为我需要它用于 git subrepo

This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
Run Code Online (Sandbox Code Playgroud)

git-lfs wsl-2

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

"message": "无效登录", "code": 401 for @feathersjs/authentication-local 在 Windows 中,而不是在 Linux 或 Mac 中

当我提取在 Mac 中运行良好的项目的工作代码时,在 Windows 中进行身份验证时出现此错误

错误

{
"name": "NotAuthenticated",
"message": "Invalid login",
"code": 401,
"className": "not-authenticated",
"errors": {}
Run Code Online (Sandbox Code Playgroud)

}

发布请求

{

    "strategy": "local",
      "username": "demo",
      "password": "demo"

}
Run Code Online (Sandbox Code Playgroud)

默认.json

 "authentication": {
    "entity": "user",
    "service": "users",
    "secret": "2wVrC38R9sUb6Cjhuhoir3oate0=",
    "authStrategies": [
      "jwt",
      "local"
    ],
    "jwtOptions": {
      "header": {
        "type": "access"
      },
      "audience": "https://yourdomain.com",
      "issuer": "feathers",
      "algorithm": "HS256",
      "expiresIn": "1d"
    },
    "local": {
      "usernameField": "username",
      "passwordField": "password"
    }
Run Code Online (Sandbox Code Playgroud)

},

所以本地策略根本不起作用

windows node.js feathers-authentication

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