Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong import path (windows) #13

Closed
daniel-sc opened this issue May 16, 2022 · 3 comments
Closed

Wrong import path (windows) #13

daniel-sc opened this issue May 16, 2022 · 3 comments

Comments

@daniel-sc
Copy link

When running this on Windows 10 with PowerShell (flutter pub run build_runner build) - the generated file includes a wrong path separator for the import path (\ instead of /):
image

Flutter doctor output:

PS C:\dev\nuts-about-stats\app> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.22000.613], locale de-DE)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.1)
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Ultimate Edition (version 2021.3)
[√] IntelliJ IDEA Ultimate Edition (version 2022.1)
[√] Connected device (3 available)
[√] HTTP Host Availability

! Doctor found issues in 1 category.

@schultek
Copy link
Owner

schultek commented May 17, 2022

I'm unsure about this fix. Can you try with the following dependency override:

dependency_overrides:
  dart_mappable_builder:
    git:
      url: https://github.com/schultek/dart_mappable
      ref: develop
      path: packages/dart_mappable_builder

@daniel-sc
Copy link
Author

this would solve it in my case :)

@schultek
Copy link
Owner

Published as dart_mappable_builder v1.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants