Closed VishalGulati closed 8 years ago
Can you give more details about how you are deploying your app to Azure? Are you using git/Kudu? Also, what specific error are you getting?
One more thing: can you confirm that you are you using Azure Functions? If not, then you're in the wrong repo :)
i am using git for deployment. I am getting an error:
Err on line 6: "engines":{"node":"6.2.1"}
I am not using azure functions.
Closing here since this repo is unrelated. You can open issue on https://github.com/projectkudu/kudu. Please make sure to include a sample repo as describe in this page.
opened the issue at kudu. https://github.com/projectkudu/kudu/issues/2191
I am facing a issue deploying angular2 app on azure. I get an error on following line
"engines":{"node":"6.2.1"},
I have given this version as WEBSITE_NODE_DEFAULT_VERSION has the value 6.2.1. Anyone having idea about this then please share. package.json looks as follows:
{ "name": "angular-quickstart", "version": "1.0.0", "engines":{"node":"6.2.1"}, "description": "QuickStart package.json from the documentation, supplemented with testing support", "scripts": { "start": "tsc && concurrently \"tsc -w\" \"lite-server\" ", "docker-build": "docker build -t ng2-quickstart .", "docker": "npm run docker-build && docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart", "pree2e": "npm run webdriver:update", "e2e": "tsc && concurrently \"http-server -s\" \"protractor protractor.config.js\" --kill-others --success first", "lint": "tslint ./app/*/.ts -t verbose", "lite": "node_modules.bin\lite-server", "postinstall": "typings install", "test": "tsc && concurrently \"tsc -w\" \"karma start karma.conf.js\"", "test-once": "tsc && karma start karma.conf.js --single-run", "tsc": "node_modules.bin\tsc", "concurrently": "node_modules.bin\concurrently", "tsc:w": "node_modules.bin\tsc -w", "typings": "node_modules.bin\typings", "webdriver:update": "webdriver-manager update" }, "keywords": [], "author": "", "licenses": [ { "type": "MIT", "url": "https://github.com/angular/angular.io/blob/master/LICENSE" } ], "dependencies": { "@angular/common": "~2.1.0", "@angular/compiler": "~2.1.0", "@angular/core": "~2.1.0", "@angular/forms": "~2.1.0", "@angular/http": "~2.1.0", "@angular/platform-browser": "~2.1.0", "@angular/platform-browser-dynamic": "~2.1.0", "@angular/router": "~3.1.0", "@angular/upgrade": "~2.1.0",
}, "devDependencies": { "concurrently": "^3.0.0", "lite-server": "^2.2.2", "typescript": "^2.0.3", "typings": "^1.4.0",
}, "repository": {} }
Please suggest a solution.