Coder Social home page Coder Social logo

azure-samples / msdocs-nodejs-mongodb-azure-sample-app Goto Github PK

View Code? Open in Web Editor NEW
28.0 17.0 541.0 62 KB

A sample Express.js app using a MongoDB database to show how to host Node.js app in Azure App service using Azure Cosmos DB

License: MIT License

JavaScript 74.23% CSS 1.92% Pug 23.85%

msdocs-nodejs-mongodb-azure-sample-app's Introduction

msdocs-nodejs-mongodb-azure-sample-app's People

Contributors

davidcberry13 avatar dfberry avatar diberry avatar microsoft-github-operations[bot] avatar microsoftopensource 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

msdocs-nodejs-mongodb-azure-sample-app's Issues

Deployment Issue Step 5 of Tutorial

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

STEP 5 of tutorial

https://docs.microsoft.com/en-us/azure/app-service/tutorial-nodejs-mongodb-app?tabs=azure-portal%2Cterminal-bash%2Cvscode-deploy%2Cdeploy-instructions-azportal%2Cdeploy-zip-linux-mac%2Cdeploy-instructions--zip-azcli

Any log messages given by the failure

9:29:31 pm msdocs-expressjs-mongodb-tutorial: Starting deployment...
9:29:34 pm msdocs-expressjs-mongodb-tutorial: Creating zip package...
9:29:35 pm msdocs-expressjs-mongodb-tutorial: Ignoring files from "appService.zipIgnorePattern"
"node_modules{,/}"
".vscode{,/
}"
9:29:35 pm msdocs-expressjs-mongodb-tutorial: Zip package size: 83.4 kB
9:29:39 pm msdocs-expressjs-mongodb-tutorial: Fetching changes.
9:29:40 pm msdocs-expressjs-mongodb-tutorial: Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/bd42bba3-a04e-4784-a73a-cb9ac1a4b71f.zip (0.08 MB) to /tmp/zipdeploy/extracted
9:29:53 pm msdocs-expressjs-mongodb-tutorial: Updating submodules.
9:29:54 pm msdocs-expressjs-mongodb-tutorial: Preparing deployment for commit id 'c2299f99-c'.
9:29:55 pm msdocs-expressjs-mongodb-tutorial: Repository path is /tmp/zipdeploy/extracted
9:29:55 pm msdocs-expressjs-mongodb-tutorial: Running oryx build...
9:29:55 pm msdocs-expressjs-mongodb-tutorial: Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 14 -i /tmp/8da1bae9a25b350 -p compress_node_modules=tar-gz --log-file /tmp/build-debug.log
9:29:56 pm msdocs-expressjs-mongodb-tutorial: Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
9:29:56 pm msdocs-expressjs-mongodb-tutorial: You can report issues at https://github.com/Microsoft/Oryx/issues
9:29:56 pm msdocs-expressjs-mongodb-tutorial: Oryx Version: 0.2.20211207.1, Commit: 46633df49cc8fbe9718772a3c894df221273b2af, ReleaseTagName: 20211207.1
9:29:57 pm msdocs-expressjs-mongodb-tutorial: Build Operation ID: |8Rk83NnDOf8=.6e9bb758_
9:29:57 pm msdocs-expressjs-mongodb-tutorial: Repository Commit : c2299f99-c6e3-4244-a087-152fd02939b0
9:29:57 pm msdocs-expressjs-mongodb-tutorial: Detecting platforms...
9:29:57 pm msdocs-expressjs-mongodb-tutorial: Error: Couldn't detect a version for the platform 'nodejs' in the repo.
9:29:57 pm msdocs-expressjs-mongodb-tutorial: Could not detect any platform in the source directory.
9:29:59 pm msdocs-expressjs-mongodb-tutorial: /opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 14 -i /tmp/8da1bae9a25b350 -p compress_node_modules=tar-gz --log-file /tmp/build-debug.log
9:30:00 pm msdocs-expressjs-mongodb-tutorial: Deployment Failed.
9:30:22 pm msdocs-expressjs-mongodb-tutorial: Deployment failed.

Expected/desired behavior

Deployment success, app should build.

OS and Version?

Windows 10 via VS Azure tool

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Ed

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

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.