We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b0416e commit d8e2a36Copy full SHA for d8e2a36
services/satellite/src/process/nsjail-spawner.ts
@@ -396,8 +396,9 @@ export class ProcessSpawner {
396
...baseEnv,
397
'-E', 'HOME=/build',
398
'-E', 'NPM_CONFIG_CACHE=/build/.npm',
399
- '-E', 'NPM_CONFIG_UPDATE_NOTIFIER=false',
400
- '-E', 'NODE_ENV=production'
+ '-E', 'NPM_CONFIG_UPDATE_NOTIFIER=false'
+ // NODE_ENV=production removed - it prevents devDependencies installation
401
+ // which breaks TypeScript builds that need @types/node
402
];
403
} else {
404
return [
0 commit comments