Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading to latest aurelia cli (1.0.0-beta.13) throws error loading element-resize-detector #28

Closed
salminio opened this issue Feb 18, 2019 · 2 comments

Comments

@salminio
Copy link

I'm looking to update from aurelia-cli 0.26.1 to the latest (1.0.0-beta.13) and I hit an issue with the aurelia-resize dependency of element-resize-detector... As best I can tell the element-resize-detector is failing on a require statement inside the element-resize-detector.

//Detection strategies.
var objectStrategyMaker = require('./detection-strategy/object');

with the following stacktrace
Unhandled rejection Error: Module name "detection-strategy/object" has not been loaded yet for context: _. Use require([])https://requirejs.org/docs/errors.html#notloaded at makeError (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:3834:17) at Object.localRequire [as require] (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:5102:44) at requirejs (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:5463:24) at o (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:56143:561) at http://localhost:9000/scripts/vendor-bundle-8.5.0.js:56143:752 at Object.7../browser-detector (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:57242:31) at o (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:56143:701) at r (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:56143:867) at http://localhost:9000/scripts/vendor-bundle-8.5.0.js:56143:896 at Object.execCb (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:5362:33) at Module.check (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:4544:55) at Module.enable (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:4842:22) at Object.enable (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:5223:39) at Module. (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:4827:33) at http://localhost:9000/scripts/vendor-bundle-8.5.0.js:3800:23 at each (http://localhost:9000/scripts/vendor-bundle-8.5.0.js:3725:31)

@3cp
Copy link

3cp commented Feb 19, 2019

ref: aurelia/cli#1054

@3cp
Copy link

3cp commented Feb 21, 2019

This can be closed. It was an aurelia-cli bug and it is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants