Comments (6)
So I am able to reproduce this, but I honestly don't know what it will take to fix it. I have been scouring the web and apparently this is a very widespread issue with a lot of other projects. Anyone have any ideas how to fix this that would be greatly appreciated.
from angular.
using ionic2: similar errors
[00:16:48] Error: Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function
calls are not supported. Consider replacing the function or lambda with a reference to an exported function,
resolving symbol Injectable in
node_modules/ng2-formio/node_modules/@angular/core/core.d.ts, resolving
symbol FormioAppConfig in node_modules/ng2-formio/src/formio.config.d.ts,
resolving symbol FormioAppConfig in
node_modules/ng2-formio/src/formio.config.d.ts
Error: Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in node_modules/ng2-formio/node_modules/@angular/core/core.d.ts, resolving symbol FormioAppConfig in node_modules/ng2-formio/src/formio.config.d.ts, resolving symbol FormioAppConfig in node_modules/ng2-formio/src/formio.config.d.ts
at SyntaxError.BaseError [as constructor] (node_modules/@angular/compiler/bundles/compiler.umd.js:1597:31)
at new SyntaxError (node_modules/@angular/compiler/bundles/compiler.umd.js:1795:20)
at simplifyInContext (node_modules/@angular/compiler/bundles/compiler.umd.js:25774:27)
at StaticReflector.simplify (node_modules/@angular/compiler/bundles/compiler.umd.js:25786:17)
at StaticReflector.annotations (node_modules/@angular/compiler/bundles/compiler.umd.js:25282:64)
at NgModuleResolver.resolve (node_modules/@angular/compiler/bundles/compiler.umd.js:17762:86)
at CompileMetadataResolver.getNgModuleMetadata (node_modules/@angular/compiler/bundles/compiler.umd.js:18263:64)
at addNgModule (node_modules/@angular/compiler/bundles/compiler.umd.js:25044:62)
at node_modules/@angular/compiler/bundles/compiler.umd.js:25055:18
at Array.forEach (native)
from angular.
This is resolvable by adding the angular/core etc to peerDeps!
from angular.
Awesome! Thank you! But do we need to add that peerDep to the package.json of this project?
from angular.
i will try it and let you know.
from angular.
Good @mikethm , could you please provide a bit more info. Here below is my part of package.json
"peerDependencies": {
" angular/common": "4.4.3",
"angular/core": "4.4.3",
"angular/forms": "4.4.3",
"angular/http": "4.4.3",
"ionic": "3.9.2",
"ionic-angular": "^3.7.1",
"ionicons": "3.0.0",
"rxjs": "5.4.3",
"zone.js": "0.8.18"
},
"dependencies": {
"angular/animations": "4.4.3",
"angular/common": "4.4.3",
"angular/compiler": "4.4.3",
"angular/compiler-cli": "4.4.3",
"angular/core": "4.4.3",
"angular/forms": "4.4.3",
"angular/http": "4.4.3",
"angular/platform-browser": "4.4.3",
"angular/platform-browser-dynamic": "4.4.3",
"angular/platform-server": "4.4.3",
"angular/router": "4.4.3",
"angular/upgrade": "4.4.3",
"ionic-native/core": "3.12.1",
"ionic/storage": "2.0.1",
"ionic-angular": "3.7.1",
"ionicons": "3.0.0",
"ionic": "3.9.2",
"rxjs": "5.4.3",
"zone.js": "0.8.18"
},
"devDependencies": {
"ionic/app-scripts": "2.1.4",
"monsenso/components": "0.0.2-prerelease.14",
"monsenso/model": "1.2.3-prerelease.108",
"monsenso/user-api": "3.1.0-prerelease.21",
"types/core-js": "0.9.43",
"types/jasmine": "^2.5.41",
"types/node": "^8.0.33",
"angular-router-loader": "^0.6.0",
"angular2-template-loader": "^0.6.2",
"codelyzer": "^3.2.0",
"del-cli": "^1.1.0",
"extract-text-webpack-plugin": "3.0.0",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.28.0",
"ionic-mocks": "^1.0.1",
"jasmine": "^2.8.0",
"jasmine-core": "^2.8.0",
"jasmine-spec-reporter": "^4.2.1",
"karma": "^1.7.1",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^1.0.1",
"karma-coverage-istanbul-reporter": "^1.3.0",
"karma-jasmine": "^1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-junit-reporter": "^1.2.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "2.0.4",
"lite-server": "^2.3.0",
"node-sass": "^4.5.0",
"null-loader": "^0.1.1",
"raw-loader": "^0.5.1",
"sass-lint": "^1.11.1",
"tslint": "^5.0.0",
"ts-loader": "^2.3.7",
"typescript": "2.3.4",
"webpack": "^3.0.0"
}
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.