Closed mminkoff closed 6 years ago
This is a known issue we're resolving at the moment in https://github.com/willviles/ember-useragent/issues/24.
ember install ember-cli-cjs-transform
should fix!
Thanks for the quick reply! I suspected it was related to that but:
A. I didn't see this error referenced anywhere so I wasn't sure, and
B. installing ember-cli-cjs-transform
does not fix it.
Hmm, could this be related? https://github.com/rwjblue/ember-cli-cjs-transform/issues/91#issuecomment-420574110
I haven't seen any issues loading ember-resolver
. I've had to remove ember-useragent
for now. It's not mission critical, whereas a feature I'm working on is at the moment.
Nothing to do with ember-resolver
, just potentially an issue with ember-cli-cjs-transform
's tmp cache.
If you've got time to look at it again, try find $TMPDIR -type d -name '*cjs-transform*' -exec rm -rf {} +;
. Thanks!
@mminkoff Also, if you have the time, please try to outline your setup. Does it differ from a "standard" app? Are you adding ember-useragent
to an addon or engine maybe?
yes, I'm using it in an addon.
I was seeing this too, in a fairly standard app, not an addon. Also seeming to appear out of nowhere.
@willviles the fix you mentioned worked for me 🎉
ember-source 3.4.4
ember-useragent 0.8.0
ember-cli-cjs-transform 1.3.0
This issue is occurring for me in my application. The fix that @willviles suggests does not work for me. I wonder if @mminkoff ever solved this issue somehow? If so, would love to hear how -- in any case, this issue is real and still exists.
ember-cli: 3.6.1
node: 10.24.1
os: linux x64
[tnadmin@localhost erm3]$ npm -v
6.14.12```
user agent : 0.9.1
ua-parser-js : 0.7.31
ember-cli-cjs-transform : 1.3.0
Out of (as far as I can tell) nowhere, this started happening.
ember-useragent@0.8.0 ember-source@2.18.2
Any suggestions? Thank you.