Open mallik482 opened 7 years ago
I see the same kind of errors when running npm run build
ERROR in multi vendor
Module not found: Error: Can't resolve 'material-design-iconfont' in '/Users/dmatta/stash/synacor-service-fe-idm-api-test-tool'
@ multi vendor
ERROR in ./~/mime/mime.js
Module not found: Error: Can't resolve 'fs' in '/Users/dmatta/stash/synacor-service-fe-idm-api-test-tool/node_modules/mime'
@ ./~/mime/mime.js 2:9-22
@ ./~/url-loader/index.js
@ multi vendor
ERROR in ./~/angular-material/angular-material.css
Module build failed: ReferenceError: window is not defined
at /Users/dmatta/stash/synacor-service-fe-idm-api-test-tool/node_modules/style-loader/index.js!/Users/dmatta/stash/synacor-service-fe-idm-api-test-tool/node_modules/css-loader/index.js?minimize!/Users/dmatta/stash/synacor-service-fe-idm-api-test-tool/node_modules/less-loader/index.js!/Users/dmatta/stash/synacor-service-fe-idm-api-test-tool/node_modules/postcss-loader/index.js!/Users/dmatta/stash/synacor-service-fe-idm-api-test-tool/node_modules/angular-material/angular-material.css:99:30
Any Ideas on how these can be fixed?
I had similar issues and solved it using the specific versions mentionned here https://github.com/webpack-contrib/css-loader/issues/240#issuecomment-275378484
"caniuse-db": "1.0.30000615", "extract-text-webpack-plugin": "2.0.0-beta.5"
I have installed latest generator-fountain-angular1 and created a project. Its working in gulp serve/ npm run serve mode but not in gulp serve:dist mode
Error Message & Stack Trace
Config
Copy the content from
.yo-rc.json
: