Closed ismailtunga closed 1 year ago
var os = require('os')
let outputPath = './bin'
if (os.platform() == 'win32') {
outputPath = '.\\bin'
}
const installBindings = async () => {
const platforms = ['darwin', 'win32', 'linux']
for (const platform of platforms) {
let exx = './node_modules/.bin/node-pre-gyp install --directory=./node_modules/sqlite3'
if (os.platform() == 'win32') {
exx = '.\\node_modules\\.bin\\node-pre-gyp install --directory=.\\node_modules\\sqlite3'
}
await execute(`${exx} --target_platform=${platform} --target_arch=x64`, undefined, { silent: true })
}
}
\messaging\misc\scripts\package.ts when i edit this file it worked
yarn no problem yarn build no problem yarn package
I am getting such an error. What do you think is the reason