Comments (7)
Thanks for reporting! I'll have to take a look at that.
Can you reproduce in a dart-only environment (i.e. no flutter involved)?
Also what versions of Dart & Flutter are you using? I ask because right now using
Dart Version
C:\Dev\tmp\dartProjTemp>dart --version
Dart VM version: 1.24.2 (Thu Jun 22 08:55:56 2017) on "windows_x64"
and this pubspec.yaml
name: dartProjTmp
version: 1.0.0
author: Colin Nelson <[email protected]>
description: Test Package
environment:
sdk: ">=1.21.0 <2.0.0"
dependencies:
epub: ^1.2.0
dev_dependencies:
I am downloading and installing the package just fine.
Thanks!
from dart-epub.
So I can confirm I can replicate this issue, but I also notice that when running
flutter --version
from an out of the box flutter
install I get the following
C:\Dev\tmp\test_proj> flutter --version
Flutter 0.1.5 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 3ea4d06340 (3 weeks ago) • 2018-02-22 11:12:39 -0800
Engine • revision ead227f118
Tools • Dart 2.0.0-dev.28.0.flutter-0b4f01f759
The last line: Dart 2.0.0-dev
makes me think that this is why pub
can't resolve the package as the pubspec.yaml
for this project explicitly states < 2.0.0
Can you confirm you are getting similar output from flutter --version
?
Thanks!
from dart-epub.
Last follow up for now: I've installed the dart beta version (2.0.0)
C:\Dev\Personal\dart-epub [master ≡ +1 ~0 -0 !]> dart --version
Dart VM version: 2.0.0-dev.35.0 (Fri Mar 9 13:09:14 2018 +0100) on "windows_x64"
And after a pub get
I can confirm that my unit tests pass.
I don't want to prematurely release the package, but if you can confirm that the dart
version you are using with flutter
is ~2.0.0 I'll test further and update the version. Otherwise, I'll start down other diagnostic routes.
Thanks!
from dart-epub.
Hi !
Sorry for the late reply, I'm located in France... And thanks a lot for your ultra-fast replies.
Yes I confirm I'm getting the exact same info with flutter --version
:
Flutter 0.1.5 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 3ea4d06340 (3 weeks ago) • 2018-02-22 11:12:39 -0800
Engine • revision ead227f118
Tools • Dart 2.0.0-dev.28.0.flutter-0b4f01f759
Best regards
from dart-epub.
No need to apologize. We are from all over around here!
With the latest merge to master #12 this should work.
Using this pubspec.yaml
name: test_proj
description: A new Flutter project.
dependencies:
flutter:
sdk: flutter
epub: ^1.2.8
cupertino_icons: ^0.1.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
And running flutter packages pub get
successfully imported the package.
Can you confirm it is resolved for you too?
Thanks!
from dart-epub.
Hi,
Thank you so much, it works !
Fantastic, eager to further test...
Very best regards,
from dart-epub.
Glad to hear! I'll close this. Please let me know if you encounter any other issues 👍
from dart-epub.
Related Issues (20)
- Exception: Incorrect EPUB spine: TOC is missing HOT 2
- dart-epub needs to be updated to support the latest flutter_test HOT 4
- Extract Epub Content
- Any chance of making a Flutter Widget view of these epubs? HOT 1
- reading epub file is slow and take a lot of time HOT 1
- Epub parsing error when href is a ralative path
- How to Add Page Number ?
- Epub reader with highlights HOT 1
- Take more than 10 second to read an epub that 8MB HOT 2
- parse fail when 'contentFileName' contain urlencoded coding
- Error when opening epub 3 file.
- update pubspec
- Mismatched hashcodes
- Trouble with loading cover images. HOT 2
- Epub book read-write then read again => "EPUB parsing error: root file not found in archive."
- XML dependency HOT 2
- Null safety support HOT 2
- Where to put epub?
- Create epub from folder
- NNBD and more darty api HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart-epub.