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

Broken bundle #1047

Closed
panicbit opened this issue Aug 24, 2015 · 4 comments
Closed

Broken bundle #1047

panicbit opened this issue Aug 24, 2015 · 4 comments

Comments

@panicbit
Copy link

Using a bundle results in the following error:

Error: Module undefined not declared as a dependency.
    Error loading http://localhost:8000/index.coffee!http://localhost:8000/jspm_packages/github/forresto/system-coffee@0.1.2.js
    at http://localhost:8000/jspm_packages/system.js:4:21254
    at http://localhost:8000/build.js:31880:14
    at u (http://localhost:8000/jspm_packages/system.js:4:21145)
    at a (http://localhost:8000/jspm_packages/system.js:4:19710)
    at Object.Promise.all.then.execute (http://localhost:8000/jspm_packages/system.js:4:24206)
    at b (http://localhost:8000/jspm_packages/system.js:4:8159)
    at x (http://localhost:8000/jspm_packages/system.js:4:8538)
    at p (http://localhost:8000/jspm_packages/system.js:4:6416)
    at h (http://localhost:8000/jspm_packages/system.js:4:6801)
    at http://localhost:8000/jspm_packages/system.js:4:5107
@guybedford
Copy link
Member

Can you share a bit more info about how you got this? If I have an index.coffee containing:

module.exports = 'asdf';

It certainly works fine for me with jspm bundle index.coffee! -i and a System.import('index.coffee!').

@panicbit
Copy link
Author

I could narrow it down to jade.
Try requiring a jade template (an empty .jade file suffices).

@guybedford
Copy link
Member

I'd suggest posting an issue to the jade plugin page, as it is outputting this code here.

@panicbit
Copy link
Author

@guybedford Alright, thanks

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

2 participants