Skip to content

Add windows support. #3

@DjToMeK30

Description

@DjToMeK30

I tried everything in https://buijs.dev/klutter-2/ for setting up my project but I get an error on latest flutter/dart
when running
flutter pub run klutter:producer init

I tried alot of stuff but the problem remains the same

` ════════════════════════════════════════════
KLUTTER (v0.2.4)
════════════════════════════════════════════

This might take a while. Just a moment please...
Unhandled exception:
FileSystemException: Exists failed, path = '\D:\flutter\test_klutter\lib' (OS Error: The filename, directory name, or volume label syntax is incorrect.
, errno = 123)
#0 _Directory.existsSync (dart:io/directory_impl.dart:94:7)
#1 FileUtil.maybeDelete (package:klutter/src/common/utilities.dart:60:9)
#2 _extension#0.setupRoot (package:klutter/src/cli/task_producer_init.dart:53:27)
#3 ProducerInit.toBeExecuted (package:klutter/src/cli/task_producer_init.dart:41:7)
#4 Task.execute (package:klutter/src/cli/task.dart:52:7)
#5 execute (package:klutter/src/cli/cli.dart:107:27)
#6 main (file:///D:/flutter/flutter_windows_3.3.6-stable/flutter/.pub-cache/hosted/pub.dartlang.org/klutter-0.2.4/bin/producer.dart:40:24)
#7 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:295:32)
#8 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
pub finished with exit code 255`

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions