mirror of
https://github.com/leon-ai/leon.git
synced 2024-09-11 10:25:40 +03:00
npm --prefix not fit with same directory with leon/package.json on windows 10
This commit is contained in:
parent
4d03e1bb4e
commit
8a383d95b0
@ -103,7 +103,7 @@ const setupBinaries = async (key) => {
|
||||
LogHelper.info('Installing Node.js bridge npm packages...')
|
||||
|
||||
await command(
|
||||
`npm install --package-lock=false --prefix ${NODEJS_BRIDGE_ROOT_PATH}`,
|
||||
`cd ${NODEJS_BRIDGE_ROOT_PATH} && npm install --package-lock=false`,
|
||||
{
|
||||
shell: true
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ export default async function (skillFriendlyName, currentSkill) {
|
||||
)
|
||||
|
||||
await command(
|
||||
`npm install --package-lock=false --prefix ${skillSRCPath}`,
|
||||
`cd ${skillSRCPath} && npm install --package-lock=false`,
|
||||
{
|
||||
shell: true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user