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)
- [BUG] Unable to type in year HOT 3
- [Question] [Custom Components Support Request] -How to create custom Anguler component widget with possibility to drag other widgets into? HOT 1
- Implementation of FormBuilder give "Cannot read properties of null" HOT 1
- [Custom Component] - Is it possible to access the current instance of the Formio Component within the custom component? HOT 16
- Enhancement Request: Use Mat Dialog for Confirmation Pop-up in Form.io Form Builder
- Minimal schema on formbuilder json
- [Question] - [Custom Component] - Custom components are not maintain the state when dragging HOT 1
- [BUG]
- Enhancement Request - Improved Table Functionality in Form.io Form Builder
- Panel component not collapsing HOT 1
- class="form-control" HOT 1
- Add custom html HOT 1
- [Question] Angular stable version 16 or higher HOT 1
- [Custom Components] How can we create custom component ? and How can we get the current instance of the component in Angular 16 ? HOT 3
- [Question] - Any specific reason for deprecating custom components in 6.0.0-rc1? HOT 2
- [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
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.