You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ng add @angular-material-extensions/password-strength
The log given by the failure
An unhandled exception occurred: Cannot find module '@schematics/angular/utility/json-utils'
[error] Error: Cannot find module '@schematics/angular/utility/json-utils'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/priv/src/Embedded/Startup/rftg/node_modules/@angular-material-extensions/password-strength/schematics/helpers/angular/json-utils.js:4:22)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/priv/src/Embedded/Startup/rftg/node_modules/@angular-material-extensions/password-strength/schematics/helpers/angular/index.js:18:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
On 10.x it produces some weird error which I haven't seen on 8.1.1. The only way I knew how to test was with npm link which haven't produced this error:
However, ng add @angular-material-extensions/password-strength still picks 8.0.0 on 10.x which works fine. And on 11.x it picks 8.2.0 which also works fine.
Given that 10.x active support is already over, do you still think its worth the effort to make it work on 10.x?
Bug Report or Feature Request (mark with an
x
)OS and Version?
MacOS High Sierra
Versions
Repro steps
ng add @angular-material-extensions/password-strength
The log given by the failure
An unhandled exception occurred: Cannot find module '@schematics/angular/utility/json-utils'
[error] Error: Cannot find module '@schematics/angular/utility/json-utils'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/priv/src/Embedded/Startup/rftg/node_modules/@angular-material-extensions/password-strength/schematics/helpers/angular/json-utils.js:4:22)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/priv/src/Embedded/Startup/rftg/node_modules/@angular-material-extensions/password-strength/schematics/helpers/angular/index.js:18:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
Desired functionality
Mention any other details that might be useful
Same issue as described in AnthonyNahas/ngx-auth-firebaseui#597.
Works with Angular 10.2.0.
The text was updated successfully, but these errors were encountered: