Error: Unexpected value 'undefined' exported by the module 'DynamicFormModule'

user6123723

Angular2 has an ability to generate forms dynamically (Model driven forms) as opposed to manually building the form (template driven).

I have a variation of Dynamic forms in which the entire Form generation functionality is exposed as a module (Angular RC5).

But it breaks with the following error (appears in Dev console)

VM849:20 Error: Error: Unexpected value 'undefined' exported by the module 'DynamicFormModule'

Here's the plunkr

Dynamic Form as a Module Plunkr

user6123723

Fixed it. There was a typo for DynamicFormComponent. It was spelled as DynamicForm. Corrected it in dynamic-form.module.ts

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Error: Unexpected value 'undefined' imported by the module

From Dev

Error: (SystemJS) Unexpected value 'undefined' imported by the module 'AppModule'

From Dev

angular library - importing @clr/angular causes a Unexpected value 'undefined' error

From Dev

Angular2: Error: unexpected value 'AppComponent' declared by the module 'AppModule'

From Dev

Error: (SystemJS) Unexpected value 'CommonService' declared by the module 'AppModule'

From Dev

value from promise is not being exported to another module

From Dev

Throw error if exported module function is called twice

From Dev

Cannot set property 'size' of undefined even though module was exported

From Dev

import module error this is undefined

From Dev

Unexpected token at @ error in Aurelia module

From Dev

Uncaught Error: Unexpected value 'PropDecoratorFactory' imported by the module 'AppModule'. Please add a @NgModule annotation

From Dev

Uncaught Error: Unexpected value 'SharedModule' imported by the module 'AppModule'. Please add a @NgModule annotation

From Dev

Unexpected piped value 'undefined' on the View of component

From Dev

Cannot read module of undefined - error with cloudinary module

From Dev

Unexpected value 'AnyComponent' declared by the module 'AppModule'

From Dev

Unexpected value 'Component' declared by the module 'AppModule'

From Dev

Unexpected value 'SohoComponentsModule' imported by the module 'DynamicTestModule'

From Dev

Module parse failed error Unexpected token } - Webpack

From Dev

error: unexpected exception No module named pydevd

From Dev

NodeJS module mutler: "Error: Unexpected field" again

From Dev

Why does object exported in ES6 module have undefined methods?

From Dev

Why does object exported in ES6 module have undefined methods?

From Dev

Bison syntax error unexpected $undefined expecting $end error

From Dev

Javascript Module Pattern value is showing undefined in alert

From Dev

Karma error Cannot call method 'module' of undefined

From Dev

Uncaught Type Error: Undefined is not a function JavaScript Module

From Dev

error running build target module is undefined

From Dev

migrate error: undefined method `cache' for Gem:Module

From Dev

module not loading in the controller (undefined_method error)

Related Related

  1. 1

    Error: Unexpected value 'undefined' imported by the module

  2. 2

    Error: (SystemJS) Unexpected value 'undefined' imported by the module 'AppModule'

  3. 3

    angular library - importing @clr/angular causes a Unexpected value 'undefined' error

  4. 4

    Angular2: Error: unexpected value 'AppComponent' declared by the module 'AppModule'

  5. 5

    Error: (SystemJS) Unexpected value 'CommonService' declared by the module 'AppModule'

  6. 6

    value from promise is not being exported to another module

  7. 7

    Throw error if exported module function is called twice

  8. 8

    Cannot set property 'size' of undefined even though module was exported

  9. 9

    import module error this is undefined

  10. 10

    Unexpected token at @ error in Aurelia module

  11. 11

    Uncaught Error: Unexpected value 'PropDecoratorFactory' imported by the module 'AppModule'. Please add a @NgModule annotation

  12. 12

    Uncaught Error: Unexpected value 'SharedModule' imported by the module 'AppModule'. Please add a @NgModule annotation

  13. 13

    Unexpected piped value 'undefined' on the View of component

  14. 14

    Cannot read module of undefined - error with cloudinary module

  15. 15

    Unexpected value 'AnyComponent' declared by the module 'AppModule'

  16. 16

    Unexpected value 'Component' declared by the module 'AppModule'

  17. 17

    Unexpected value 'SohoComponentsModule' imported by the module 'DynamicTestModule'

  18. 18

    Module parse failed error Unexpected token } - Webpack

  19. 19

    error: unexpected exception No module named pydevd

  20. 20

    NodeJS module mutler: "Error: Unexpected field" again

  21. 21

    Why does object exported in ES6 module have undefined methods?

  22. 22

    Why does object exported in ES6 module have undefined methods?

  23. 23

    Bison syntax error unexpected $undefined expecting $end error

  24. 24

    Javascript Module Pattern value is showing undefined in alert

  25. 25

    Karma error Cannot call method 'module' of undefined

  26. 26

    Uncaught Type Error: Undefined is not a function JavaScript Module

  27. 27

    error running build target module is undefined

  28. 28

    migrate error: undefined method `cache' for Gem:Module

  29. 29

    module not loading in the controller (undefined_method error)

HotTag

Archive