error on deploy node type application
amoralesmadrigal
TRIALOP

2 years ago

i had the error getting warning: npm WARN config production Use --omit=dev instead, what i have to do to fix it? my package.json contains

{

"name": "contact-form-app",

"version": "0.0.0",

"scripts": {

"ng": "ng",

"start": "ng serve",

"build": "ng build",

"watch": "ng build --watch --configuration development",

"test": "ng test"

},

"private": true,

"dependencies": {

"@angular/animations": "^17.3.0",

"@angular/cdk": "^17.3.9",

"@angular/common": "^17.3.0",

"@angular/compiler": "^17.3.0",

"@angular/core": "^17.3.0",

"@angular/forms": "^17.3.0",

"@angular/material": "^17.3.9",

"@angular/platform-browser": "^17.3.0",

"@angular/platform-browser-dynamic": "^17.3.0",

"@angular/router": "^17.3.0",

"rxjs": "~7.8.0",

"tslib": "^2.3.0",

"zone.js": "~0.14.3"

},

"devDependencies": {

"@angular-devkit/build-angular": "^17.3.1",

"@angular/cli": "^17.3.1",

"@angular/compiler-cli": "^17.3.0",

"@types/jasmine": "~5.1.0",

"jasmine-core": "~5.1.0",

"karma": "~6.4.0",

"karma-chrome-launcher": "~3.2.0",

"karma-coverage": "~2.2.0",

"karma-jasmine": "~5.1.0",

"karma-jasmine-html-reporter": "~2.1.0",

"typescript": "~5.4.2"

}

}

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

2 years ago

Is this a server side rendered or client side rendered app?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...