Giter Club home page Giter Club logo

Comments (10)

manishkumar-tudip avatar manishkumar-tudip commented on July 16, 2024

Working on to resolve this issue.

from angular.

kostenko avatar kostenko commented on July 16, 2024

I have the same issue

from angular.

SheriefAlaa avatar SheriefAlaa commented on July 16, 2024

@manishkumar-tudip is there an ETA for a fix?

Thanks.

from angular.

travist avatar travist commented on July 16, 2024

This should be resolved.

from angular.

harryhahn avatar harryhahn commented on July 16, 2024

when use import {FormioModule} from 'ng2-formio' the build process throw now the error:

ERROR in FormioModule is not an NgModule

Import from src/index works

from angular.

rmckeel avatar rmckeel commented on July 16, 2024

@travist I'm seeing this same issue Uncaught Error: Unexpected value 'FormioModule' imported by the module 'AppModule' presenting in the current tag 1.0.0-rc.1. I have also tried importing from ng2-formio/dist/index, and I get the same issue. Should I open a new issue, or is there some trick to getting it to work now? Thanks!

from angular.

travist avatar travist commented on July 16, 2024

I am releasing a new version tonight with a fix. Thanks for reporting it.

from angular.

rmckeel avatar rmckeel commented on July 16, 2024

@travist Thanks for fixing (I think, I haven't yet gotten it to work). I've had a few hours trying to upgrade my project to NG4 dependencies. Is ng2-formio now reliant on NG4, or is there a way to keep on NG2 (e.g. ng2-formio could work with NG 2.x+ or 4.x)? I'm trying not to upgrade my project just yet as certain packages like angularfire2 are still at 'rc0' stage and require code updates.

from angular.

travist avatar travist commented on July 16, 2024

This should work for both Angular 2 or Angular 4. I wasn't sure how to make the package.json allow for either one, so let me know if you know of a way to do that. I have tested it in both Angular 2 and Angular 4 and it works for both.

from angular.

rmckeel avatar rmckeel commented on July 16, 2024

I see in https://docs.npmjs.com/files/package.json, you can use the "||" operator, e.g. range1 || range2. I have seen this before for Angular, but I can't find a good example off the cuff.

from angular.

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.