Comments (10)
Here's a snapshot of the JavaScript object just before the error presents.
Also, this maybe related to this issue, as the question is similar. I did try updating some of my devDependencies to try to eliminate the possibility of an older TypeScript library or similar causing problems.
"@types/core-js": "~0.9.34",
"@types/jasmine": "~2.5.36",
"@types/node": "~6.0.46",
"@types/request": "0.0.30",
"autoprefixer": "~6.5.1",
"copy-webpack-plugin": "~4.0.1",
"cross-env": "~3.1.3",
"css-loader": "~0.25.0",
"del-cli": "~0.2.0",
"eslint": "~3.10.2",
"express": "~4.14.0",
"extract-text-webpack-plugin": "2.0.0-beta.4",
"html-webpack-plugin": "~2.24.1",
"jasmine-core": "~2.5.2",
"karma": "~1.3.0",
"karma-chrome-launcher": "~2.0.0",
"karma-jasmine": "~1.0.2",
"karma-mocha-reporter": "~2.2.0",
"karma-sourcemap-loader": "~0.3.7",
"karma-webpack": "~1.8.0",
"minx": "r-park/minx.git",
"morgan": "~1.7.0",
"node-sass": "~3.13.0",
"nodemon": "~1.11.0",
"npm-run-all": "~3.1.1",
"postcss-loader": "~1.1.0",
"raw-loader": "~0.5.1",
"sass-loader": "~4.0.2",
"style-loader": "~0.13.1",
"ts-helpers": "~1.1.2",
"ts-loader": "2.0.3",
"tslint": "~3.15.1",
"typescript": "2.3.2",
"typings": "~2.1.1",
"webpack": "2.1.0-beta.22",
"webpack-dev-server": "2.1.0-beta.4",
"webpack-md5-hash": "~0.0.5",
"winston": "~2.3.0"
}```
from angular.
I think you are right on that error. It may be caused by Babel. The core renderer uses Babel to compile, but there are other ways to get the import. I am curious if it works if I use require
vs. import
. Let me create a build of the core renderer which does this to see if that makes a difference.
from angular.
So I just did a new build and updated the starterkit app @ https://github.com/formio/ng2-app-starterkit. I did not see this error when walking through this app so I hope it has been fixed. Let me know if it works for you.
Thanks,
Travis.
from angular.
@travist Thanks for your quick responses and builds.
I'm not able to test it due to:
5874:15 Critical dependency: the request of a dependency is an expression
WARNING in ./~/ng2-formio/~/@angular/core/@angular/core.es5.js
5890:15 Critical dependency: the request of a dependency is an expression
It seems rc11 removed the ability for it to run on Angular2.
from angular.
I removed that because it didn't seem to make a difference (I tested it with a version 2 app and it still pulled in the 4.x versions). Did it work for you when I had that there?
from angular.
from angular.
Ok, I just pushed up an RC13 that I hope fixes this problem for you. I will leave in the dependencies moving forward.
from angular.
Thanks!
from angular.
@travist I am still getting the JavaScript error TypeError: _i18next2.default.init is not a function
, I did just update to rc17. Any ideas what I can do to troubleshoot / fix? Seems to be coming from FormioWizard.localize, and perhaps some compatibility issue with zone.js. I have tried zone.js 0.7.7, 0.7.8.
I cannot currently re-start my codebase from the 'starter kit' (mostly because I have some other dependencies requiring NG2 currently, because their NG4 counterparts haven't been ironed out yet).
from angular.
Closed due to no activity.
from angular.
Related Issues (20)
- 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 3
- [Custom Components] Ability to optionally select multiple values in Custom Component HOT 4
- [Question] how to disable to set the defaultValue to all the questions?
- [Custom Components] Custom Components View only mode. HOT 2
- [Issue] Submit event is not firing in Form IO HOT 2
- 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 2
- [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. HOT 1
- [BUG] Formio throws error while running SSR build HOT 1
- How to add a Custom Component. HOT 3
- [BUG] Date/Time Component Fails to Save When 'noeval' Property is Set to True HOT 4
- [BUG] Getting error while loading form using form-builder - unsafe-eval HOT 1
- [BUG] Error installing dependencies for 8.0.0-rc.4 in angular 18 HOT 2
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.