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
Error: Failed to compile entry-point @angular-material-extensions/link-preview (`es2015` as esm2015) due to compilation errors:
node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:255:26 - error NG1010: Value at position 3 in the NgModule.imports of MatLinkPreviewModule is not a reference
Value could not be determined statically.
255 imports: [
~
256 CommonModule,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
261 MatProgressSpinnerModule,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 ],
~~~~~~~~~~~~~~~~~
node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:259:21
259 MatCardModule,
~~~~~~~~~~~~~
Unknown reference.
Compiling @angular-material-extensions/link-preview : es2015 as esm2015
/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/tasks/completion.js:57
throw new Error(createErrorMessage(fs, task, message));
^
Error: Failed to compile entry-point @angular-material-extensions/link-preview (`es2015` as esm2015) due to compilation errors:
node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:255:26 - error NG1010: Value at position 3 in the NgModule.imports of MatLinkPreviewModule is not a reference
Value could not be determined statically.
255 imports: [
~
256 CommonModule,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
261 MatProgressSpinnerModule,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 ],
~~~~~~~~~~~~~~~~~
node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:259:21
259 MatCardModule,
~~~~~~~~~~~~~
Unknown reference.
at /home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/tasks/completion.js:57:19
at /home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/tasks/completion.js:31:13
at /home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/create_compile_function.js:69:21
at SingleProcessExecutorSync.SingleProcessorExecutorBase.doExecute (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:36:17)
at /home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:57:59
at SyncLocker.lock (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/locking/sync_locker.js:34:24)
at SingleProcessExecutorSync.execute (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:57:27)
at Object.mainNgcc (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/main.js:74:25)
at Object.process (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/index.js:29:23)
at NgccProcessor.processModule (/home/maifee/Desktop/news-update/node_modules/@ngtools/webpack/src/ngcc_processor.js:164:16)
Process finished with exit code 1
Desired functionality
Mention any other details that might be useful
Found this issue: #110. As it doesn't have any solution, I created a new one.
The text was updated successfully, but these errors were encountered:
Same Problem here... I think this extension is just not ready for angular versions newer than 7...
It also has a dependencie to @angular/http which is deprecateed.
Also after doing the sae changes like here: #110 (comment) it did actually work too... so it might not be that difficult to port this extension to newer versions?!
Bug Report or Feature Request (mark with an
x
)OS and Version?
Ubuntu 20.04 LTS
Versions
Repro steps
Just added deps in this repo: https://github.com/maifeeulasad/news-update/tree/develop
And in the
app.module.ts
:The log given by the failure
Desired functionality
Mention any other details that might be useful
Found this issue: #110. As it doesn't have any solution, I created a new one.
The text was updated successfully, but these errors were encountered: