Comments (7)
The line it is complaining about (./~/ng2-formio/src/formio.component.js 9:13-32) is
var Formio = require('formiojs'); ...
@travist any ideas as to what might be causing this / what i can do to help debug?
from angular.
I am actually looking at this right now. I may try to turn it into a import
command and see if that has an effect.
from angular.
ng2-formio is in node-modules/formiojs/package.json
It doesn't seem like it really should be there... is it possible that it's causing a circular dependency?
Also, is it possible that formiojs is importing itself (or other some other library that depends on itself, creating a circular dependency? (quick grep seems like it's formiojs/form that it imports...)
from angular.
Ah... I will get new release out today that cleans all this up. Thank you!
from angular.
So, I just took a look and do not see ng2-formio within the package.json of formiojs. I see that it is within the _requiredBy
and _location
but that is done during the installation of the module so I don't think that is it. Pretty frustrating since the errors that are thrown do not really indicate the real problem, and since it is fine with regular builds, I am having a hard time figuring out the cause here. Open to other suggestions.
from angular.
ah - my bad.
i read some people suggesting trying to use source maps on the call stack helping to help to track down the circular dependency...
maybe something like https://github.com/evanw/node-source-map-support ?
from angular.
a good writeup as to how easy it is to create an infinite loop in angular... angular/angular#7930
from angular.
Related Issues (20)
- [Question] - How to get paid support? HOT 1
- [Question] - How to create formio module as a Angular Library? HOT 2
- [Custom Components] Problem with advanced logic HOT 1
- Loading gear always visible even after successful form loading
- How to remove individual options (such as Display/Label Position or Data/Persistent). HOT 1
- Flickering occurs for the field if there is a JavaScript logic for that (even if you clicked any other field) HOT 3
- Intercepting Drag&Drop event
- Angular 17 and FormIO runtime error HOT 2
- [Custom Components] Ability to optionally select multiple values in Custom Component HOT 2
- [Question] how to disable to set the defaultValue to all the questions?
- [Custom Components] Custom Components View only mode. HOT 1
- [Issue] Submit event is not firing in Form IO HOT 1
- Template is not exported from package
- [Custom Components] HOT 1
- Using with Angular Material
- [Question] How to add event or call function on button click and remove data from key and value in formio
- How to add new button in any tab on drag field and listen in component ? [Custom Components] HOT 1
- [Question] Install formio but say conflicts between different versions of zone.js
- [BUG] Unable to refresh the screen after making form read-only after submit the form.
- [BUG] Formio throws error while running SSR build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular.