Comments (4)
Tested with 5.0.0
. It is working. Thank you!
from ember-ajax.
Can you please define what specifically is broken? Does it not compile? Does it emit compilation warnings/errors? Does it compile but error at runtime?
from ember-ajax.
Sorry my bad. It compiles just fine. But when the route tries to import, it errors at run time with
"Cannot import module from 'ember-ajax/errors'"
Only occurs with typescript
. Otherwise it works just fine.
So here's a little bit of a background. I am trying to convert one of the in-repo-engine
to use typescript
. The base app
and another in-repo-addon
that hosts the shared code, are both written in Javascript
. This shared addon is exposing ember-ajax
.
When I try to compile and run with typescript
I face #428 and this issue. While #428 seems to be resolved in master, this issue remains.
from ember-ajax.
@sumeetattree - can you try ember-ajax
version 5? I'm using also ember-cli-typescript
and I don't have that problem.
from ember-ajax.
Related Issues (20)
- Release notes error? HOT 1
- Is this package deprecated? HOT 7
- allow host and namespace be empty
- Unable to extract error if server return `application/problem+json` header
- Cannot override ajax service HOT 17
- Host does not resolve when the start of the path is the same string as the namespace.
- ember-ajax does not work with Ember 3.8 when transpiling to ES5 HOT 1
- Fails with Octane blueprint HOT 6
- Remove requirement that TS consumers must enable allowSyntheticDefaultImports
- Update README to remove unhelpful wording, move contributions
- Request URL
- deprecation warning ember 3.9 - computed-property.volatile HOT 3
- Use with VSCode typechecking in .js files
- Using run.join not working with thrown error
- Any plans to switch to fetch? HOT 7
- Deprecation warnings with Ember 3.27
- [5.1.0] Type-definitions are missing from release HOT 3
- Does this addon work with ember octane versions ? HOT 3
- How to use error handler helpers in glimmer version? HOT 1
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 ember-ajax.