glimmerjs / glimmer-application

[MOVED] This package is now part of the Glimmer.js monorepo
https://github.com/glimmerjs/glimmer.js
30 stars 13 forks source link

Strange errors after running `ember serve` #48

Closed julienfitz closed 7 years ago

julienfitz commented 7 years ago

Below is the actual error @vaidehijoshi and I saw after running ember serve on a brand new Glimmer project. It otherwise builds fine, but thought you might want to know:

ember s
/src/index.ts(21,26): Argument of type 'App' is not assignable to parameter of type 'Application'.
  Types of property 'env' are incompatible.
    Type 'Environment' is not assignable to type 'Environment'. Two different types with this name exist, but they are unrelated.
      Types have separate declarations of a private property 'helpers'.
Livereload server on http://localhost:49153
Serving on http://localhost:4200/

Build successful - 3955ms.

Happy to provide any other information that might be helpful!

pittst3r commented 7 years ago

Thanks for reporting this! It is safe to ignore. It's just a TS warning and is probably the fault of @glimmer/web-component, where we already have an issue open for this. Unfortunately I have not yet cracked this nut (haven't worked on it a whole lot yet though tbh).

locks commented 7 years ago

@robbiepitts we might want to leave one of these open so people can find it and we can reference back?

pittst3r commented 7 years ago

@locks Yeah, https://github.com/glimmerjs/glimmer-web-component/issues/9 is open still.

pittst3r commented 7 years ago

Oh, but leave one in @glimmer/application open you mean?

locks commented 7 years ago

@robbiepitts na, I think that's probably the best course of action. Thanks for giving this a go @lbaillie and @vaidehijoshi 😁