ember.js icon indicating copy to clipboard operation
ember.js copied to clipboard

[Bug] Types cannot be found when using type=module, moduleResolution=node16

Open NullVoxPopuli opened this issue 2 years ago • 2 comments

🐞 Describe the Bug

Can't find types for @ember/owner (or any declared module)

🔬 Minimal Reproduction

A perfectly normal library:

https://stackblitz.com/edit/stackblitz-starters-b2lsty?description=Starter%20project%20for%20Node.js,%20a%20JavaScript%20runtime%20built%20on%20Chrome%27s%20V8%20JavaScript%20engine&file=src%2Findex.ts,unpublished-development-types%2Findex.d.ts,package.json,src%2Futils.ts&title=node.new%20Starter

😕 Actual Behavior

Cannot find module '@ember/owner' or its corresponding type declarations.(2307)

🤔 Expected Behavior

Module is found

🌍 Environment

  • Ember: - 5.5
  • Node.js/npm/pnpm: - Node 18.18.0 / 9.4.2 / 8.14.0
  • OS: - browser web container
  • Browser: - FireFox

NullVoxPopuli avatar Jan 10 '24 19:01 NullVoxPopuli

@NullVoxPopuli I can work on this. Please assign it to me.

ngrbalu avatar Oct 09 '24 06:10 ngrbalu

Do you know how to fix? Cause i don't. Also, no need for assigning. Ya just do the work <3

NullVoxPopuli avatar Oct 09 '24 11:10 NullVoxPopuli