Giter Site home page Giter Site logo

aurelia-amd-bundler's People

Contributors

cmichaelgraham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aurelia-amd-bundler's Issues

instructions on readme are missing a step

The instructions at the bottom of the readme.md are missing a step to get the aurelia pieces in to the aurelia-latest directory it seems. If you clone fresh and run bower install then try to run the bundling step for dev it will fail because the main-config.js references a missing directory.

Cloned repo, attempted to bundle, received multiple errors

On the bower install step multiple "Unable to find" errors:

Unable to find a suitable version for aurelia-binding, please choose one:
1) aurelia-binding#^0.9.0 which resolved to 0.9.1 and is required by aurelia
-framework#0.16.0, aurelia-templating#0.15.3
2) aurelia-binding#^0.10.0 which resolved to 0.10.2 and is required by aurel
ia-framework#0.17.0, aurelia-framework#0.17.0, aurelia-templating#0.16.0, aureli
a-templating#0.16.0, aurelia-templating-binding#0.16.1, aurelia-templating-bindi
ng#0.16.1, aurelia-templating-resources#0.16.1, aurelia-templating-resources#0.1
6.1
3) aurelia-binding#* which resolved to 0.10.2 and is required by aurelia-req
uire-bundle

Prefix the choice with ! to persist it to bower.json

? Answer: !3

On the bundle step:

D:\TemporarySolutions\aurelia-amd-bundler>node r.js -o name=aurelia-bundle-manif
est baseUrl=. mainConfigFile=main-config.js out=aurelia-bundle.js optimize=none

Tracing dependencies for: aurelia-bundle-manifest
Error: ENOENT: no such file or directory, open 'D:\TemporarySolutions\aurelia-am
d-bundler\aurelia-pal.js'
In module tree:
aurelia-bundle-manifest
aurelia-dialog/index
aurelia-dialog/ai-dialog
aurelia-templating
aurelia-metadata

Error: Error: ENOENT: no such file or directory, open 'D:\TemporarySolutions\aur
elia-amd-bundler\aurelia-pal.js'
In module tree:
aurelia-bundle-manifest
aurelia-dialog/index
aurelia-dialog/ai-dialog
aurelia-templating
aurelia-metadata

at Error (native)

Shim needed for the aurelia-html-template-element file

In the bundle, the HTMLTemplateElement.js file does not contain a define function. I believe this is the cause of the problems with IE when using the bundle. (Not exactly sure why it's not an issue with other browsers) When a shim is created for this file in the require.config({}) element such as the following:
   shim: {
      'aurelia-html-template-element': {
         exports: 'Aurelia-html-template-element'
      }
   }
I believe the issues with IE will be resolved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.