我试图用角度5.0.0和angular-cli 1.5.0版本实现Patternfly-ng 0.13.6,但是我得到了以下警告:
WARNING in ./node_modules/patternfly-ng/node_modules/@angular/core/@angular/core.es5.js
5675:15-102 Critical dependency: the request of a dependency is an expression
at ImportLazyContextDependency.getWarnings (F:\SematreeProjects\Ng2\st-resource-allocation-ui\node_modules\webpack\lib\dependencies\ContextDependency.js:39:18)
at Compilation.reportDependencyErrorsAndWarnings (F:\SematreeProjects\Ng2\st-resource-allocation-ui\node_modules\webpack\lib\Compilation.js:703:24)
at Compilation.finish (F:\SematreeProjects\Ng2\st-resource-allocation-ui\node_modules\webpack\lib\Compilation.js:561:9)
at applyPluginsParallel.err (F:\SematreeProjects\Ng2\st-resource-allocation-ui\node_modules\webpack\lib\Compiler.js:506:17)
at F:\SematreeProjects\Ng2\st-resource-allocation-ui\node_modules\tapable\lib\Tapable.js:289:11
at _addModuleChain (F:\SematreeProjects\Ng2\st-resource-allocation-ui\node_modules\webpack\lib\Compilation.js:507:11)
at processModuleDependencies.err (F:\SematreeProjects\Ng2\st-resource-allocation-ui\node_modules\webpack\lib\Compilation.js:477:14)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
@ ./node_modules/patternfly-ng/node_modules/@angular/core/@angular/core.es5.js
@ ./node_modules/patternfly-ng/src/app/wizard/wizard-substep.component.js
@ ./node_modules/patternfly-ng/index.js
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
app.module.ts:
import { NotificationModule } from 'patternfly-ng';
@NgModule({
declarations: [
......
],
imports: [
.......
NotificationModule
],
providers: [....],
bootstrap: [....]
})
export class AppModule { }
请帮我解决这个问题。