Skip to content

Encoding issue with path #45

@Manti21

Description

@Manti21

Hi,

i am getting this error when i want to generate the the license file. The output i provide here was created with the example app. I assume it is because we use a nexus caching server.

I obfuscated out server domain with subdomain.domain.org and my home directory with "~"

flutter pub run license_generator generate debug
Output
Failed to complete the license generator, because of FatalException: with messsage: 
.dart_tool/package_config.json is not up to date. 
Path: '~/.pub-cache/hosted/subdomain.domain.org%2547repository%2547pub%2547/fast_barcode_scanner-1.1.4' does not exist anymore. 
FatalException: with messsage: .dart_tool/package_config.json is not up to date. 
Path: '~/.pub-cache/hosted/subdomain.domain.org%2547repository%2547pub%2547/fast_barcode_scanner-1.1.4' does not exist anymore. 
#0 LicenseRepository._guessLocalLicenseFile (file:///~/development/flutter-icapps-license/bin/src/repo/license_repository.dart:97:9) 
#1 LicenseRepository.getLicenseDataForDependency (file:///~/development/flutter-icapps-license/bin/src/repo/license_repository.dart:59:20) <asynchronous> 
#2 GenerateCommand._getDependencyText (file:///~/development/flutter-icapps-license/bin/src/command/generate_command.dart:101:25) <asynchronous> 
#3 GenerateCommand.generateLicenses (file:///~/development/flutter-icapps-license/bin/src/command/generate_command.dart:87:13) <asynchronous> 
#4 LicenseGenerator.run (file:///~/development/flutter-icapps-license/bin/src/license_generator.dart:84:9) <asynchronous> 
#5 main (file:///~/development/flutter-icapps-license/bin/license_generator.dart:10:5) <asynchronous></asynchronous></asynchronous></asynchronous></asynchronous></asynchronous>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions