Fair icon indicating copy to clipboard operation
Fair copied to clipboard

只生成fbs,其他不生成

Open Lb0728 opened this issue 4 years ago • 5 comments

Attention

Issue用于问题跟踪,技术咨询/讨论,请移步至讨论组 Gitter

D:\project\flutter_fair>flutter pub run build_runner build [INFO] Generating build script... [INFO] Generating build script completed, took 287ms

[INFO] Creating build script snapshot...... [INFO] Creating build script snapshot... completed, took 10.3s

[INFO] Initializing inputs [INFO] Building new asset graph... [INFO] Building new asset graph completed, took 734ms

[INFO] Checking for unexpected pre-existing outputs.... [INFO] Checking for unexpected pre-existing outputs. completed, took 1ms

[INFO] Running build... [INFO] Generating SDK summary... [INFO] 2.8s elapsed, 0/1 actions completed. [INFO] Generating SDK summary completed, took 2.7s

[INFO] 3.8s elapsed, 0/1 actions completed. [INFO] 6.2s elapsed, 0/1 actions completed. [WARNING] fair_compiler:fairc on lib/main.dart: [Fair] Compile lib/main.dart into bundle... [INFO] 14.3s elapsed, 0/1 actions completed. [SEVERE] fair_compiler:fairc on lib/main.dart:

FileSystemException: Cannot create file, path = 'build\fair\log\2021-02-01 15:40:016.txt' (OS Error: 文件名、目录名或卷标语法不正确。 , errno = 123) [INFO] Running build completed, took 14.7s

[INFO] Caching finalized dependency graph... [INFO] Caching finalized dependency graph completed, took 34ms

[SEVERE] Failed after 14.7s pub finished with exit code 1

Lb0728 avatar Feb 01 '21 08:02 Lb0728

贴一下系统信息flutter doctor 目测是windows?换macos试试

avenwu avatar Feb 01 '21 13:02 avenwu

flutter 1.22.5 dart 2.10.5 是windows

Lb0728 avatar Feb 02 '21 03:02 Lb0728

这个有解决方案了吗

Lb0728 avatar Feb 25 '21 08:02 Lb0728

换Mac,windows问题暂时无法支持

avenwu avatar Feb 25 '21 11:02 avenwu

还不支持windows么?这就难受了!

ghostgzt avatar Jul 26 '22 15:07 ghostgzt