aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

Error: Module aurelia-framework not declared as a dependency #48

Closed LivesleyWA closed 8 years ago

LivesleyWA commented 8 years ago

aurelia-application-configuration.ts.zip I have a working application. I have attempted to bundle the application using two bundles. I can see the two bundles being loaded localhost.zip

but I then receive

Error: Module aurelia-framework not declared as a dependency. Error loading http://localhost:50082/source/ts/web-applications/reports-portal/aurelia-application-configuration.js at http://localhost:50082/jspm_packages/system.js:4:31685 at c (http://localhost:50082/jspm_packages/system.js:5:11128) at Object. (http://localhost:50082/source/bundles/web-applications/reports-portal/application.js:2913:29) at i (http://localhost:50082/jspm_packages/system.js:5:11518) at i (http://localhost:50082/jspm_packages/system.js:4:31576) at n (http://localhost:50082/jspm_packages/system.js:4:30141) at Object.execute (http://localhost:50082/jspm_packages/system.js:5:3176) at y (http://localhost:50082/jspm_packages/system.js:4:9948) at w (http://localhost:50082/jspm_packages/system.js:4:10327) at p (http://localhost:50082/jspm_packages/system.js:4:8205)run @ aurelia.js:17593(anonymous function) @ aurelia.js:17607flush @ aurelia.js:17371

I checked the bundled files and all seems well so I am not clear what I am missing. I attach various files Archive.zip

bundles.zip

ahmedshuhel commented 8 years ago

@LivesleyWA Have you figured it out or you still have this issue? Sorry for the late reply. I will look into it based on your current status.

LivesleyWA commented 8 years ago

Sadly no, although your response is timely since I now have a bit more time. Any help would be gratefully received.

Sent from my iPad

On Feb 20, 2016, at 08:25, Shuhel Ahmed notifications@github.com<mailto:notifications@github.com> wrote:

@LivesleyWAhttps://github.com/LivesleyWA Have you figured it out or you still have this issue? Sorry for the late reply. I will look into it based on your current status.

Reply to this email directly or view it on GitHubhttps://github.com/aurelia/bundler/issues/48#issuecomment-186639460.

EisenbergEffect commented 8 years ago

Can this issue be closed?

LivesleyWA commented 8 years ago

From my point of view - yes. This issue appears to have disappeared although I am still having issues with the bundle. The project where this occurred has been accepted as is. I expect to shortly be starting a new project based on Aurelia, despite this and other issues, and I will re-open a new ticket if I am still experiencing issues with the bundler. Getting the bundler to work consistently is important since otherwise there is a long delay in loading the web pages.