Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9159925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:36:43+00:00 2026-06-17T13:36:43+00:00

TL;DR Node.js app hosted on Azure as a Cloud Service. Publishing fails(app not uploaded)

  • 0

TL;DR

  • Node.js app hosted on Azure as a Cloud Service.
  • Publishing fails(app not uploaded) but appears to have worked.

Explained:

I have an account on Windows Azure where I have used both Websites and Cloud Services. I moved my website to a cloud service to be able to use custom domains.

Since moving, I use Azure cmdlets to publish my Node.js webserver. Before publishing worked fine, usually taking between 5 and 10 minutes to complete. Once published, the website contains the most recent content.

My problem is that now, publishing takes less than 2 minutes, no errors are thrown, and the content is not updated. Why is my app not publishing it’s content?

Below is my publishing output:

PS C:\Projects\Azure\CloudServices\jwbsite\JWB> ls

    Directory: C:\Projects\Azure\CloudServices\jwbsite\JWB

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d----          9/8/2012  10:22 AM            bin
d----         9/12/2012   3:30 PM            controllers
d----         9/11/2012   1:16 PM            data
d----         9/12/2012   4:00 PM            extensions
d----         9/10/2012   2:37 PM            models
d----         9/12/2012   2:45 PM            node_modules
d----         9/12/2012   3:23 PM            public
d----          9/8/2012  10:28 AM            views
-a---         9/25/2012   3:44 PM        411 package.json
-a---         9/13/2012  11:14 AM        224 robots.txt
-a---         9/17/2012   2:45 PM        605 routes.js
-a---         9/17/2012  10:59 AM       1902 server.js
-a---         8/25/2012   1:28 PM       3251 Web.cloud.config
-a---         8/25/2012   1:28 PM       3251 Web.config

PS C:\Projects\Azure\CloudServices\jwbsite\JWB> Publish-AzureServiceProject

Publishing  to Windows Azure. This may take several minutes...

4:27:17 PM - Preparing runtime deployment for service 'jwbsite'
4:27:20 PM - Preparing deployment for jwbsite with Subscription ID: ABCDEFGH-IJKL-MNOP-QRST-UVWXYZ012345...
4:27:21 PM - Connecting...
4:27:27 PM - Verifying storage account 'jwbsite'...
4:27:27 PM - Uploading Package...
4:27:39 PM - Upgrading...
4:27:50 PM - Created Deployment ID: ABCDEFGHIJKLMNOPQRSTUVWXYZABCDE.
4:27:50 PM - Starting...
4:27:50 PM - Initializing...
4:27:51 PM - Instance JWB_IN_0 of role JWB is ready.
4:27:51 PM - Instance JWB_IN_1 of role JWB is ready.
4:27:51 PM - Instance JWB_IN_2 of role JWB is ready.
4:27:51 PM - Instance JWB_IN_3 of role JWB is ready.
4:27:52 PM - Created Website URL: http://jwbsite.cloudapp.net.
4:27:52 PM - Complete.

PS C:\Projects\Azure\CloudServices\jwbsite\JWB>

Let me know, I appreciate the help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:36:45+00:00Added an answer on June 17, 2026 at 1:36 pm

    In case anyone else is having this problem or Google is sending your here, I did find the cause of the error.

    CHECK YOUR FILENAME/PATH LENGTHS!

    If the filenames are too long then the package will not be uploaded to Azure. I found this out by trying to publish to the emulation of Azure, which gave me the correct errors. I’m not sure why it doesn’t give the errors when pushing to the real Azure instance.

    Node.js Note:

    The main source for filenames/paths that are too long are the modules.
    When installing modules through NPM, the module will install it’s
    dependencies that aren’t present at the time. Be sure to look through
    your module file structure and try to slim it down(I’m working on a
    script to balance it for you).

    The Azure support team were extremely helpful in trying to get to the bottom of this confusing problem, they worked with me for almost 2 months to get my site back up and running.

    If you are having the same or similar issue, try deploying to the local emulation of Azure and see what errors you get back.

    I feel stupid for getting this error, but hopefully my stupid can help avoid someone else’s.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have hosted an app on appfog.com. Its a chat program(I am a node
I have a node app which accepts an uploaded image (using formidable) and stores
I am creating a Node.js app on Heroku and have run into an issue.
I have the following express node.js app. It's using the 'redis' npm package. app.get(/test,function(req,res){
I have a module I created for a node.js app. The app also uses
I have a simple node app that I am trying to host on cloudfoundry.
I have a node app that has a string of require s, like this:
I have a basic node.js app that is designed to open up a connection
I have a IIS hosted service http://localhost/someProject/services/myservice.svc . Is it possible to somehow make
I have a node app that I just started working with and each time

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.