> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.stacktrack.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Node.js Application Deployment on Windows AMD64

### Node.js Application Deployment on Windows AMD64
**Category:** programming\_languages
**Platform:** windows\_amd64
**Tools Used:** Node.js LTS, NPM
**Description:** Deploy a Node.js application using NPM on Windows AMD64.
**Code:**
```
pipeline {
    agent { label 'large && windows && x86 && economy' }
    stages {
        stage('Install Dependencies') {
            steps {
                bat 'npm install'
            }
        }
        stage('Build') {
            steps {
                bat 'npm run build'
            }
        }
        stage('Test') {
            steps {
                bat 'npm test'
            }
        }
        stage('Deploy') {
            steps {
                bat 'npm run deploy'
            }
        }
    }
}
```

**Expected Outcome:** Node.js application deployed successfully