1
1
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:
emehmet 2023-09-10 19:15:30 +03:00
parent 4d03e1bb4e
commit 8a383d95b0
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}