Skip to content

AZD deployment failing again #16

@ranjit-singh-pivotree

Description

@ranjit-singh-pivotree

Seems like the deployment issue due to oryx is back that was previously fixed here: 6e7f72c

Screenshot and logs added from Github deployment:

Image
Creating a deployment plan
Comparing deployment state
  (-) Skipped: Didn't find new changes.

SUCCESS: There are no changes to provision for your application.
Run azd deploy --no-prompt

Deploying services (azd deploy)

Deploying service processor (Installing NPM dependencies)
Deploying service processor (Running NPM package script)
Deploying service processor (Compressing deployment artifacts)
Deploying service processor (Uploading deployment package)
  (x) Failed: Deploying service processor

ERROR: failed deploying service 'processor': publishing zip file: deployment failed: npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /tmp/zipdeploy/extracted/node_modules/typescript
npm ERR! dest /tmp/zipdeploy/extracted/node_modules/.typescript-IqCjXuxr
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/tmp/zipdeploy/extracted/node_modules/typescript' -> '/tmp/zipdeploy/extracted/node_modules/.typescript-IqCjXuxr'

npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2025-10-01T17_54_42_411Z-debug-0.log
/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20.11.1 More information: npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /tmp/zipdeploy/extracted/node_modules/typescript npm ERR! dest /tmp/zipdeploy/extracted/node_modules/.typescript-IqCjXuxr npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/tmp/zipdeploy/extracted/node_modules/typescript' -> '/tmp/zipdeploy/extracted/node_modules/.typescript-IqCjXuxr'  npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2025-10-01T17_54_42_411Z-debug-0.log 
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions