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

jspm fails when installing packages from both npm and github #76

Closed

Comments

@lindseydew
Copy link

For example, this recipe throws:
{ "jspm": { "registry": "jspm", "dependencies": { "json": "master", "sugar": "npm:sugar@^1.4.1" } } }

throws:
err Multiple defines for anonymous module and
err Unable to load endpoint github or err Unable to load endpoint npm.

Everything works fine when the dependency list calls entirely from github, or from npm.

This has been a problem for our dependency list since yesterday afternoon. Any ideas what is causing it?

Thanks

@guybedford
Copy link
Member

It seems this was caused by updating SystemJS in the project, which was updated recently.

For now, I've released a new version of jspm, with the versions locked down to stable, so if you update it should work I believe.

Then in terms of addressing the fix for the update, it will be about working out what change in SystemJS caused this.

@guybedford
Copy link
Member

I'm not able to replicate this issue on the current master branch of jspm. I've been working in this area so may have already fixed the issue indirectly.

@guybedford
Copy link
Member

Please let me know if you notice this issue again. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment