Skip to content

Instantly share code, notes, and snippets.

View rodrigocnascimento's full-sized avatar
🐯
i'm a turtle

Rodrigo Nascimento rodrigocnascimento

🐯
i'm a turtle
View GitHub Profile
# npm resolution error report
2021-06-12T12:51:44.021Z
While resolving: angular-material-admin@1.0.5
Found: rxjs@7.0.0
node_modules/rxjs
rxjs@"7.0.0" from the root project
Could not resolve dependency:
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: @angular/common@11.2.14
npm WARN node_modules/@angular/common
npm WARN @angular/common@"~11.2.13" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @angular/common@"^6.0.0 || ^7.0.0 || ^8.0.0" from @agm/core@1.1.0
npm WARN node_modules/@agm/core
npm WARN @agm/core@"^1.1.0" from the root project
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions ma
npm WARN @agm/core@1.1.0 requires a peer of @angular/common@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @agm/core@1.1.0 requires a peer of @angular/core@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/common@11.2.14 requires a peer of rxjs@^6.5.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/core@11.2.14 requires a peer of rxjs@^6.5.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/forms@11.2.14 requires a peer of rxjs@^6.5.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/router@11.2.14 requires a peer of rxjs@^6.5.3 but none is installed. You must install peer dependencies yourself.
npm WARN ng-apexcharts@1.5.9 requires a peer of @angular/common@>=9.0.0 <11.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng-apexcharts@1.5.9 requires a pee
export interface MockDataOptions {
customData?: Record<string, any>;
quantityToGenerate?: number;
}
function customObjectPropertyOverload(index: any, customData: any, mockedData: any) {
const dataPropertyKeys = Object.keys(customData || {});
for (const dataIndex of dataPropertyKeys) {
const dataSubProperties = Object.keys(customData[dataIndex]);