Got the error "Could not find module `jquery` imported from `ember-ajax/utils/ajax`" while executing the below function call. ```js 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 ?
Got the error "Could not find module
jqueryimported fromember-ajax/utils/ajax" while executing the below function call.Doing
ember install @ember/jqueryseems to fix this issue. Why is this fix needed ?