mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 11:44:21 +08:00 
			
		
		
		
	fix(build): linux server failing due to missing legacy deps
This commit is contained in:
		
							parent
							
								
									adf676253d
								
							
						
					
					
						commit
						3e710fbdf5
					
				| @ -44,7 +44,7 @@ cp -R "$script_dir/../build/src" "$DIR" | ||||
| cp "$script_dir/../build/electron-main.js" "$DIR" | ||||
| 
 | ||||
| # run in subshell (so we return to original dir) | ||||
| (cd $DIR && npm install --omit=dev) | ||||
| (cd $DIR && npm install --omit=dev --legacy-peer-deps) | ||||
| 
 | ||||
| if [[ -d "$DIR"/node_modules ]]; then | ||||
|     # cleanup of useless files in dependencies | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran