Skip to content

[flutter_tools] PathNotFoundException trying to open template_manifest.json (path cannot be found) #145423

@andrewkolos

Description

@andrewkolos

On 3.19.3

Thread 0 main threadPathNotFoundException: PathNotFoundException: Cannot open file, path = 'C:\Development\flutter\packages\flutter_tools\templates\template_manifest.json' (OS Error: The system cannot find the path specified.
, errno = 3)
at _File.throwIfError(file_impl.dart:675)
at _File.openSync(file_impl.dart:490)
at _File.readAsBytesSync(file_impl.dart:574)
at _File.readAsStringSync(file_impl.dart:624)
at ForwardingFile.readAsStringSync(forwarding_file.dart:99)
at ErrorHandlingFile.readAsStringSync.<anonymous closure>(error_handling_io.dart:217)
at _runSync(error_handling_io.dart:587)
at ErrorHandlingFile.readAsStringSync(error_handling_io.dart:216)
at CreateBase._computeTemplateManifest(create_base.dart:670)
at CreateBase._templateManifest(create_base.dart:657)
at CreateBase._templateManifest(create_base.dart)
at CreateBase.renderMerged(create_base.dart:481)
at CreateBase.generateApp(create_base.dart:506)
at CreateCommand.runCommand(create.dart:361)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1389)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:212)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:355)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:295)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:119)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at main(executable.dart:90)
at <asynchronous gap>(async)

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: crashStack traces logged to the consoleteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions