Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Does this addon work with ember octane versions ?  #467

@SandeepJoel

Description

@SandeepJoel

Got the error "Could not find module jquery imported from ember-ajax/utils/ajax" while executing the below function call.

return this.ajax
.request('/api/token', {
  method: 'POST',
  // url: '/api/token',
  data: payloadData,
})
.then((result) => {
  return result.token;
})
.catch(function (error) {
  console.log('Api failure', error);
});

Doing ember install @ember/jquery seems to fix this issue. Why is this fix needed ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions