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
steal-clone path errors #1221
Labels
Comments
This also fails if var loader = require("@loader");
var order = Promise.resolve();
if (!System.isEnv('production')) {
order = order.then(function(){
return loader.import('can-simple-map/can-simple-map_test');
});
}
if (!System.isEnv('production')) {
order = order.then(function(){
return loader.import('can-cid/test/test');
});
} |
I wasn't easily able to create this problem in // test/test.js
var loader = require("@loader");
loader.import('can-simple-map/can-simple-map_test');
loader.import('can-cid/test/test'); // node_modules/can-simple-map/can-simple-map_test
var clone = require('steal-clone'); // node_modules/can-cid/test/test
require('can-cid/can-cid_test'); // relative here breaks too // node_modules/can-cid/can-cid_test.js
var clone = require('steal-clone');
clone().import('can-cid') Will keep reducing if I have time tomorrow. |
justinbmeyer
added a commit
that referenced
this issue
Jul 2, 2017
justinbmeyer
changed the title
steal-clone within a dynamic import does not successfully load.
steal-clone path errors
Jul 2, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Demonstrated by #1222.
This problem can be seen by cloning the
updateDeep
branch of canjs and changingtest/test.js
page to:Both of these tests use
steal-clone
. If only oneSystem.import
is present, everything works.The error is that the
can-cid
test will not load:I'm working on creating a smaller test right now that demonstrates this problem.
The text was updated successfully, but these errors were encountered: