Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9086175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:25:27+00:00 2026-06-16T21:25:27+00:00

I encountered some weird errors when running pub install for dart-html5-samples. The first one

  • 0

I encountered some weird errors when running “pub install” for dart-html5-samples. The first one was:

Illegal argument(s): join(): part 0 was null, but part 1 was not.

The second one was:

Running pub install ...
Pub install failed, [1] Resolving dependencies...
Could not find package "unittest 0.0.0-r.13075" at http://pub.dartlang.org.

What’s going on, and how do I fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T21:25:28+00:00Added an answer on June 16, 2026 at 9:25 pm

    The first error is:

    Illegal argument(s): join(): part 0 was null, but part 1 was not.
    

    That’s because pubspec.yaml contained:

    dependencies:
      htmlescape:
        sdk: htmlescape
    

    htmlescape no longer comes with the SDK. Removing the dependency fixed the problem. I simply made a copy of htmlescape.dart in my lib directory. Eventually, I won’t need my own copy once the following bug is fixed:

    http://code.google.com/p/dart/issues/detail?id=1657

    The second error is:

    Running pub install ...
    Pub install failed, [1] Resolving dependencies...
    Could not find package "unittest 0.0.0-r.13075" at http://pub.dartlang.org.
    

    dart-html5-samples depends on vector_math which depends on unittest. I think they must have changed how unittest is loaded by pub. Running pub update fixed the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have encountered a weird situation while updating/upgrading some legacy code. I have a
I had an if statement checking some value, And encountered a weird bug(Not sure!).
I encountered a weird problem with a UIView in my Application. I placed some
As part of developing some ajax history behavior I encountered a weird thing: (my)
I encountered some weird behaviour today and I was hoping someone could shed some
I was running a few tests with sockets, and I encountered some strange behavior:
I encountered some very weird behaviour which I think is a bug, but I
I'm making a bookmarklet, but I've encountered some wierd behaviour in IE8. The code
I encountered some curious behavior today and was wondering if it is expected or
I've encountered some problems with MongoID. I have three models: require 'mongoid' class Configuration

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.