heroku deployment error Module build failed: BrowserslistError: Unknown browser query `dead`
up vote
0
down vote
favorite
I am having problem deploying angular-app to heroku.
I git is error which pushing to heroku using cli.
Its working on local enviorment when i do ng build --aot -prod on my local machine but when I try to push this on live server. This error occurs.
I tried a lot of different things but nothing seems to work.
Error Is something like this:
remote: ERROR in ./src/styles.css
remote: Module build failed: BrowserslistError: Unknown browser query `dead`
remote: at /tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:164:11
remote: at Array.reduce (<anonymous>)
remote: at resolve (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:132:18)
remote: at browserslist (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:224:16)
remote: at Browsers.parse (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/browsers.js:61:16)
remote: at new Browsers (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/browsers.js:52:30)
remote: at loadPrefixes (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/autoprefixer.js:70:24)
remote: at plugin (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/autoprefixer.js:81:24)
remote: at LazyResult.run (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/postcss/lib/lazy-result.js:277:20)
My package.json is this:
{
"name": "frontend",
"version": "0.0.0",
"main": "app.js",
"scripts": {
"postinstall": "ng build --aot -prod",
"start": "node server.js",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"engines": {
"node": "8.12.0",
"npm": "6.4.1"
},
"private": true,
"dependencies": {
"@angular/animations": "^4.2.4",
"@angular/cli": "^1.4.9",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/compiler-cli": "^4.4.6",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/router": "^4.2.4",
"bootstrap": "^4.1.3",
"core-js": "^2.4.1",
"express": "^4.16.4",
"path": "^0.12.7",
"rxjs": "^6.3.3",
"typescript": "~3.1.1",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular/animations": "^4.2.4",
"@angular/cli": "^1.4.9",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/compiler-cli": "^4.4.6",
"@angular-devkit/build-angular": "~0.10.0",
"@angular/language-service": "~7.0.0",
"@types/node": "~8.9.4",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.1.1"
}
}
heroku web-deployment
add a comment |
up vote
0
down vote
favorite
I am having problem deploying angular-app to heroku.
I git is error which pushing to heroku using cli.
Its working on local enviorment when i do ng build --aot -prod on my local machine but when I try to push this on live server. This error occurs.
I tried a lot of different things but nothing seems to work.
Error Is something like this:
remote: ERROR in ./src/styles.css
remote: Module build failed: BrowserslistError: Unknown browser query `dead`
remote: at /tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:164:11
remote: at Array.reduce (<anonymous>)
remote: at resolve (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:132:18)
remote: at browserslist (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:224:16)
remote: at Browsers.parse (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/browsers.js:61:16)
remote: at new Browsers (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/browsers.js:52:30)
remote: at loadPrefixes (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/autoprefixer.js:70:24)
remote: at plugin (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/autoprefixer.js:81:24)
remote: at LazyResult.run (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/postcss/lib/lazy-result.js:277:20)
My package.json is this:
{
"name": "frontend",
"version": "0.0.0",
"main": "app.js",
"scripts": {
"postinstall": "ng build --aot -prod",
"start": "node server.js",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"engines": {
"node": "8.12.0",
"npm": "6.4.1"
},
"private": true,
"dependencies": {
"@angular/animations": "^4.2.4",
"@angular/cli": "^1.4.9",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/compiler-cli": "^4.4.6",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/router": "^4.2.4",
"bootstrap": "^4.1.3",
"core-js": "^2.4.1",
"express": "^4.16.4",
"path": "^0.12.7",
"rxjs": "^6.3.3",
"typescript": "~3.1.1",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular/animations": "^4.2.4",
"@angular/cli": "^1.4.9",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/compiler-cli": "^4.4.6",
"@angular-devkit/build-angular": "~0.10.0",
"@angular/language-service": "~7.0.0",
"@types/node": "~8.9.4",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.1.1"
}
}
heroku web-deployment
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am having problem deploying angular-app to heroku.
I git is error which pushing to heroku using cli.
Its working on local enviorment when i do ng build --aot -prod on my local machine but when I try to push this on live server. This error occurs.
I tried a lot of different things but nothing seems to work.
Error Is something like this:
remote: ERROR in ./src/styles.css
remote: Module build failed: BrowserslistError: Unknown browser query `dead`
remote: at /tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:164:11
remote: at Array.reduce (<anonymous>)
remote: at resolve (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:132:18)
remote: at browserslist (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:224:16)
remote: at Browsers.parse (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/browsers.js:61:16)
remote: at new Browsers (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/browsers.js:52:30)
remote: at loadPrefixes (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/autoprefixer.js:70:24)
remote: at plugin (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/autoprefixer.js:81:24)
remote: at LazyResult.run (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/postcss/lib/lazy-result.js:277:20)
My package.json is this:
{
"name": "frontend",
"version": "0.0.0",
"main": "app.js",
"scripts": {
"postinstall": "ng build --aot -prod",
"start": "node server.js",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"engines": {
"node": "8.12.0",
"npm": "6.4.1"
},
"private": true,
"dependencies": {
"@angular/animations": "^4.2.4",
"@angular/cli": "^1.4.9",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/compiler-cli": "^4.4.6",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/router": "^4.2.4",
"bootstrap": "^4.1.3",
"core-js": "^2.4.1",
"express": "^4.16.4",
"path": "^0.12.7",
"rxjs": "^6.3.3",
"typescript": "~3.1.1",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular/animations": "^4.2.4",
"@angular/cli": "^1.4.9",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/compiler-cli": "^4.4.6",
"@angular-devkit/build-angular": "~0.10.0",
"@angular/language-service": "~7.0.0",
"@types/node": "~8.9.4",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.1.1"
}
}
heroku web-deployment
I am having problem deploying angular-app to heroku.
I git is error which pushing to heroku using cli.
Its working on local enviorment when i do ng build --aot -prod on my local machine but when I try to push this on live server. This error occurs.
I tried a lot of different things but nothing seems to work.
Error Is something like this:
remote: ERROR in ./src/styles.css
remote: Module build failed: BrowserslistError: Unknown browser query `dead`
remote: at /tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:164:11
remote: at Array.reduce (<anonymous>)
remote: at resolve (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:132:18)
remote: at browserslist (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/browserslist/index.js:224:16)
remote: at Browsers.parse (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/browsers.js:61:16)
remote: at new Browsers (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/browsers.js:52:30)
remote: at loadPrefixes (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/autoprefixer.js:70:24)
remote: at plugin (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/autoprefixer/lib/autoprefixer.js:81:24)
remote: at LazyResult.run (/tmp/build_55b3f660ded0ff4e4370e6dae7789ca5/node_modules/postcss/lib/lazy-result.js:277:20)
My package.json is this:
{
"name": "frontend",
"version": "0.0.0",
"main": "app.js",
"scripts": {
"postinstall": "ng build --aot -prod",
"start": "node server.js",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"engines": {
"node": "8.12.0",
"npm": "6.4.1"
},
"private": true,
"dependencies": {
"@angular/animations": "^4.2.4",
"@angular/cli": "^1.4.9",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/compiler-cli": "^4.4.6",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/router": "^4.2.4",
"bootstrap": "^4.1.3",
"core-js": "^2.4.1",
"express": "^4.16.4",
"path": "^0.12.7",
"rxjs": "^6.3.3",
"typescript": "~3.1.1",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular/animations": "^4.2.4",
"@angular/cli": "^1.4.9",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/compiler-cli": "^4.4.6",
"@angular-devkit/build-angular": "~0.10.0",
"@angular/language-service": "~7.0.0",
"@types/node": "~8.9.4",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.1.1"
}
}
heroku web-deployment
heroku web-deployment
asked Nov 10 at 23:51
Nouman Dilshad
10714
10714
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244566%2fheroku-deployment-error-module-build-failed-browserslisterror-unknown-browser%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown