Troubleshooting
Common Setup Issues
Build Errors
Error: "Cannot resolve 'aurelia-pal'"
Module not found: Error: Can't resolve 'aurelia-pal' in '/path/to/project'npm install aurelia-pal-nodejsimport { initialize } from 'aurelia-pal-nodejs';
initialize();Error: "aurelia-bootstrapper not found"
Module not found: Error: Can't resolve 'aurelia-bootstrapper'// Server webpack config
{
entry: './src/server-main.ts', // Not aurelia-bootstrapper
target: 'node'
}Runtime Errors
Error: "window is not defined"
Error: "document is not defined"
Error: "localStorage is not defined"
Memory and Performance Issues
Memory Leaks
Symptoms:
Debugging Memory Leaks:
Slow Rendering Performance
Symptoms:
Solutions:
Rendering Issues
Content Not Appearing
Symptoms:
Solutions:
Hydration Mismatches
Symptoms:
Solutions:
Debugging Techniques
Enable Debug Logging
Use Node.js Debugger
Server-Side Console Output
Error Boundary Implementation
Configuration Issues
Webpack Bundle Problems
Symptoms:
Solutions:
Middleware Configuration
Common middleware issues:
Deployment Issues
Production Environment Problems
Docker Considerations
Getting Help
Performance Monitoring
Last updated
Was this helpful?