Giter Site home page Giter Site logo

systemjs about angular2-signaturepad HOT 9 CLOSED

wulfsolter avatar wulfsolter commented on July 29, 2024
systemjs

from angular2-signaturepad.

Comments (9)

lathonez avatar lathonez commented on July 29, 2024

Can you provide a reference project / setup that you're trying to load it into?

from angular2-signaturepad.

elemental21 avatar elemental21 commented on July 29, 2024

I've tried these two basically clean:
https://github.com/mgechev/angular-seed
Tried quickstart afterwards to see if I was just having trouble with angular-seed
https://github.com/angular/quickstart

Do you want me to fork one and update systemjs.config with what I was attempting?

from angular2-signaturepad.

lathonez avatar lathonez commented on July 29, 2024

The example project uses ng-cli. Is there any particular reason you don't
want to use that?

On 10 Nov 2016 07:29, "Chris Robinson" [email protected] wrote:

I've tried these two basically clean:
https://github.com/mgechev/angular-seed
Tried the after to see if I was just having trouble with angular-seed
https://github.com/angular/quickstart

Do you want me to fork one and update systemjs.config with what I was
attempting?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG5tSFHyZE-aYULU3iwAC5x8k5jarbO5ks5q8i0dgaJpZM4Kt8rj
.

from angular2-signaturepad.

elemental21 avatar elemental21 commented on July 29, 2024

I don't fully understand all that is going on with angular-seed, but I believe it uses both

from angular2-signaturepad.

lathonez avatar lathonez commented on July 29, 2024

I suggest creating a project using ng-cli and trying to implement the
signature pad as per the example project.

Otherwise fork angular-seed and do the same.

If you send us what you've attempted we can try to help.

On 10 Nov 2016 07:43, "Chris Robinson" [email protected] wrote:

I don't fully understand all that is going on with angular-seed, but I
believe it uses both


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG5tSKHSug4yb0QOLUrDZ51mP7lYzmnqks5q8jBogaJpZM4Kt8rj
.

from angular2-signaturepad.

Robmbackus avatar Robmbackus commented on July 29, 2024

I am also having a systemjs issue. I am using Angular 2 Seed and it wants to create systemjs on build, but here are my settings

this.SYSTEM_CONFIG_DEV.paths['angular2-signaturepad'] =
        `${this.APP_BASE}node_modules/angular2-signaturepad/index`;

    this.SYSTEM_BUILDER_CONFIG.packages['angular2-signaturepad'] = {
      main: 'index',
      defaultExtension : 'js'
    };

When I run this I get the error

Failed to load resource: the server responded with a status of 404 (Not Found)
localhost/:52 
Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:5555/node_modules/signature_pad.js(…)

This is very strange because signature_pad is only referenced inside your module.

from angular2-signaturepad.

lathonez avatar lathonez commented on July 29, 2024

Admittedly I've not used System.js for a long time, but I don't remember ever having to add config to include node modules (I would run a mile from any builder that I had to modify config for to add a simple node module like this).

Anyway, if you provide your fork of angular-seed I'll take a look. Or just use ng-cli.

from angular2-signaturepad.

Robmbackus avatar Robmbackus commented on July 29, 2024

Ok, I will see if I can get a sample together.

from angular2-signaturepad.

elemental21 avatar elemental21 commented on July 29, 2024

@lathonez I'm switching my project from angular-seed to angular-cli. I wasn't aware that it was essentially a comparable product to angular-seed. So far I'm liking it and it's definitely easier to get modules loaded up, so thanks for that. I did get angular2-sigpad working with it fine.

from angular2-signaturepad.

Related Issues (20)

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.