Giter Site home page Giter Site logo

azure-samples / app-service-web-nodejs-get-started Goto Github PK

View Code? Open in Web Editor NEW
28.0 20.0 203.0 5 KB

This Node.js (Express) sample app is used by the getting started content to demonstrate how easy it is to develop a web app and deploy it to Azure App Service.

License: MIT License

JavaScript 89.95% CSS 2.89% HTML 7.16%

app-service-web-nodejs-get-started's Introduction

services platforms author
app-service\web, app-service
node
cephalin

Node.js sample for Azure App Service - Express

This is a Node.js web app built on the Express framework that you can deploy to Azure App Service.

This code is the default app as generated by the Express application generator.

To learn how to deploy this starter web app to App Service in a few minutes, go to Get started with web apps in Azure App Service.

License

See LICENSE.

app-service-web-nodejs-get-started's People

Contributors

acomsmpbot avatar cephalin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

app-service-web-nodejs-get-started's Issues

Does not work with the instructions (1/4/2017)

I followed these: https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-get-started

And got this instead:

git push azure master

Counting objects: 31, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (26/26), done.
Writing objects: 100% (31/31), 5.67 KiB | 0 bytes/s, done.
Total 31 (delta 6), reused 0 (delta 0)
remote: Updating branch 'master'.
remote: Updating submodules.
remote: Preparing deployment for commit id 'c51cbaf447'.
remote: Generating deployment script.
remote: Generating deployment script for node.js Web Site
remote: Generated deployment script files
remote: Running deployment command...
remote: Handling node.js deployment.
remote: Kudu sync from: '/home/site/repository' to: '/home/site/wwwroot'
remote: Copying file: '.gitignore'
remote: Copying file: 'CONTRIBUTING.md'
remote: Copying file: 'LICENSE'
remote: Copying file: 'README.md'
remote: Copying file: 'app.js'
remote: Copying file: 'iisnode.yml'
remote: Copying file: 'package.json'
remote: Ignoring: .git
remote: /opt/npm/3.10.8/node_modules/npm/bin/npm:2
remote: Copying file: 'bin/www'
remote: (set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix
remote: Copying file: 'public/stylesheets/style.css'
remote:         ^^^^^
remote: Copying file: 'routes/index.js'
remote: SyntaxError: Unexpected identifier
remote: Copying file: 'routes/users.js'
remote:     at Object.exports.runInThisContext (vm.js:76:16)
remote: Copying file: 'views/error.jade'
remote:     at Module._compile (module.js:542:28)
remote: Copying file: 'views/index.jade'
remote:     at Object.Module._extensions..js (module.js:579:10)
remote: Copying file: 'views/layout.jade'
remote:     at Module.load (module.js:487:32)
remote: Using start-up script bin/www from package.json.
remote:     at tryModuleLoad (module.js:446:12)
remote: The package.json file does not specify node.js engine version constraints.
remote:     at Function.Module._load (module.js:438:3)
remote: The node.js application will run with the default node.js version 6.9.3.
remote:     at Module.runMain (module.js:604:10)
remote: Selected npm version null
remote:     at run (bootstrap_node.js:394:7)
remote: One or more of the selected node/npm paths do not exist.
remote:     at startup (bootstrap_node.js:149:9)
remote: An error has occurred during web site deployment.
remote:     at bootstrap_node.js:509:3
remote: npm failed
remote:
remote: Error - Changes committed to remote repository but deployment to website failed.
To https://MYSITE.azurewebsites.net/MYSITE.git
 * [new branch]      master -> master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.