Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment Issue Step 5 of Tutorial #1

Open
Phil3009 opened this issue Apr 11, 2022 · 1 comment
Open

Deployment Issue Step 5 of Tutorial #1

Phil3009 opened this issue Apr 11, 2022 · 1 comment

Comments

@Phil3009
Copy link

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.

@Hamzabny
Copy link

aa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants