This commit is contained in:
		
							parent
							
								
									e9b6d9171b
								
							
						
					
					
						commit
						c8129773b1
					
				| @ -30,7 +30,8 @@ jobs: | ||||
|           echo "Setting up environment..." | ||||
|           node --version | ||||
|           npm --version | ||||
|            | ||||
|           nvm use 23.5.0 | ||||
|           node --version | ||||
|           # 设置多个可能解决 crypto 问题的环境变量 | ||||
|           export NODE_OPTIONS="--no-warnings" | ||||
|           export VITE_CJS_IGNORE_WARNING=true | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
|   "private": true, | ||||
|   "type": "module", | ||||
|   "scripts": { | ||||
|     "build": "NODE_OPTIONS=--no-warnings vite build", | ||||
|     "build": "vite build", | ||||
|     "dev": "vite", | ||||
|     "preview": "vite preview" | ||||
|   }, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 libingxiang
						libingxiang