There are 2 gaps:
- npm install doesn't chmod +x the Windows workiq.exe binary even with all scripts allowed
- (a new one) it points to x64 binary on arm64 laptop. While notice it worked fine before but 1.0.0.28144 caused trouble.
For the 1st one, the error looks like this:
$ workiq
node:fs:2042
binding.chmod(path, mode);
^
Error: EPERM: operation not permitted, chmod '/usr/lib/node_modules/@microsoft/workiq/bin/win-x64/workiq.exe'
at Object.chmodSync (node:fs:2042:11)
at makeExecutable (/usr/lib/node_modules/@microsoft/workiq/lib/install.js:68:8)
at getBinaryPath (/usr/lib/node_modules/@microsoft/workiq/lib/install.js:84:7)
at Object.<anonymous> (/usr/lib/node_modules/@microsoft/workiq/bin/workiq.js:6:20)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
at Object..js (node:internal/modules/cjs/loader:1961:10)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module._load (node:internal/modules/cjs/loader:1355:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) {
errno: -1,
code: 'EPERM',
syscall: 'chmod',
path: '/usr/lib/node_modules/@microsoft/workiq/bin/win-x64/workiq.exe'
}
For the 2nd one, the error looks like this:
$ workiq
Failure processing application bundle.
Bundle header version compatibility check failed. Header version: -114075421.-411831823
A fatal error occurred while processing application bundle
switching to arm64 binary helps
There are 2 gaps:
For the 1st one, the error looks like this:
For the 2nd one, the error looks like this:
switching to arm64 binary helps