Closed gashcrumb closed 8 years ago
Was going to try installing tslint-loader
and using it's example config, however it fails to install here. Wonder though, looking at the config it seems to be basically turned off, maybe we should keep that out for now? Looks though like there's other webpack config items that'll need updating.
Hmm I wonder when the latest pull you made was? I would delete your npm-shrinkwrap
and run that magical cleanup
alias, reinstall npm packages and try again.
There have been issues with the shrinkwrap, so I was thinking that while the application is under development that maybe we should remove it completely.
yeah, maybe the shrinkwrap is a better thing for a product branch.
Hmm, no luck removing the shrinkwrap, it looks like it's still failing with the same reported error.
Oh, also just in case:
C:\Source\hawtio-ipaas [master ≡ +0 ~0 -1 !]> npm --version
3.4.1
C:\Source\hawtio-ipaas [master ≡ +0 ~0 -1 !]> node -v
v6.6.0
Making this change to package.json fixes the reported error for me:
"webpack": "2.1.0-beta.21",
"webpack-dev-middleware": "1.6.1",
"webpack-dev-server": "2.1.0-beta.2",
"webpack-md5-hash": "0.0.5",
"webpack-merge": "0.14.1"
So we may need to consider locking down even our dev dependencies and carefully evaluate updates. I guess they're not to worried about making breaking changes to the config in beta versions of webpack. I did however get this error once npm start
uh started up:
WARNING in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
45:15 Critical dependency: the request of a dependency is an expression
WARNING in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
57:15 Critical dependency: the request of a dependency is an expression
ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve '@ng-bootstrap/ng-bootstrap' in 'C:\Source\hawtio-ipaas\src\app'
@ ./src/app/app.module.ts 24:21-58
@ ./src/app/index.ts
@ ./src/main.browser.ts
@ multi main
Not sure if it's Windows specific or not, but after updating locally, clearing out
node_modules
and runningnpm install
,npm start
gives me:@kahboom ping