mirror of
https://github.com/leon-ai/leon.git
synced 2025-01-03 06:06:06 +03:00
ci: try to build on Windows without catching exceptions
This commit is contained in:
parent
e5eeffa2bc
commit
a863c872b0
@ -139,24 +139,12 @@ SPACY_MODELS.set('fr', {
|
||||
LogHelper.success(`${dotVenvPath} deleted`)
|
||||
}
|
||||
|
||||
try {
|
||||
await command(`pipenv install --site-packages`, {
|
||||
shell: true,
|
||||
stdio: 'inherit'
|
||||
})
|
||||
await command(`pipenv install --site-packages`, {
|
||||
shell: true,
|
||||
stdio: 'inherit'
|
||||
})
|
||||
|
||||
LogHelper.success('Python packages installed')
|
||||
} catch (e) {
|
||||
LogHelper.error(`Failed to install Python packages: ${e}`)
|
||||
|
||||
if (osType === OSTypes.Windows) {
|
||||
LogHelper.error(
|
||||
'Please check the error above. It might be related to Microsoft C++ Build Tools. If it is, you can check here: "https://stackoverflow.com/a/64262038/1768162" then restart your machine and retry'
|
||||
)
|
||||
}
|
||||
|
||||
process.exit(1)
|
||||
}
|
||||
LogHelper.success('Python packages installed')
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user