Error [...] resolving symbol FormioModule in /.../formioApp/node_modules/ng2-formio/dist/index.d.ts
See original GitHub issueI did following steps:
- npm install -g @angular/cli
- ng create formioApp
- cd formioApp
- Modify files as in https://github.com/formio/ng2-formio/wiki/1.)-Form-Renderer
- ng serve --host 0.0.0.0 --port 8080
ERROR in Error encountered resolving symbol values statically. Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler (position 2:22 in the original .ts file), resolving symbol FormioModule in /home/ubuntu/workspace/formioApp/node_modules/ng2-formio/dist/index.d.ts, resolving symbol AppModule in /home/ubuntu/workspace/formioApp/src/app/app.module.ts, resolving symbol AppModule in /home/ubuntu/workspace/formioApp/src/app/app.module.ts
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Issues - GitHub
Error [...] resolving symbol FormioModule in /.../formioApp/node_modules/ng2-formio/dist/index.d.ts #72.
Read more >Angular 2.0.2 - Error encountered resolving symbol values ...
"Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an ...
Read more >Angular 2/4: Resolved poblem with Error encountered ... - QPS
Porblem when try to build on server with : "build:prod": "ng build --prod" Error encountered resolving symbol values statically.
Read more >Documentation - Modules .d.ts - TypeScript
Comparing JavaScript to an example DTS. Common CommonJS Patterns. A module using CommonJS patterns uses module.exports to describe the exported values.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi. it is late but I had this problem and I resolved erasing the folder node_modules within ng2-formio. I hope it helps them.
@jhonvedo Thanks a lot!!! that did solve the problems for me. I had a similar issue with ng2-typewriter.