You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported on Discord, v0.7.3 of airnode-validator, airnode-admin, and airnode-deployer are broken due to a missing airnode-validator file (see error below).
This is reminiscent of #1246 and #1247, however the v0.7.3 release includes the fix from #1268, which corrected the validator binary path. Given the missing file is the correct validator binary path (which we know works in v0.7.2) this might have resulted from not running yarn build prior to release? Further evidence for this is from socket.dev, which shows the file missing from the package for v0.7.3, but present forv0.7.2.
Error:
> npx @api3/[email protected]
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /home/derek/.npm/_npx/23478/lib/node_modules/@api3/airnode-validator/dist/cjs/bin/validator.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/derek/.npm/_npx/23478/lib/node_modules/@api3/airnode-validator/dist/cjs/bin/validator.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/derek/.npm/_logs/2022-08-22T01_37_58_062Z-debug.log
Install for [ '@api3/[email protected]' ] failed with code 254
The text was updated successfully, but these errors were encountered:
When I was testing this on Friday, I pulled the release from the repo, which might explain why it did work for me (and for some reason I did not use the docker image provided in the cloud).
UPDATE: I don't seem to have the same problem when testing the Docker image I get from the release commit or the api3/airnode-deployer:0.7.3 image. This must be a npx-specific problem; sorry this flew by without me noticing.
Originally reported on Discord,
v0.7.3
ofairnode-validator
,airnode-admin
, andairnode-deployer
are broken due to a missingairnode-validator
file (see error below).This is reminiscent of #1246 and #1247, however the
v0.7.3
release includes the fix from #1268, which corrected the validator binary path. Given the missing file is the correct validator binary path (which we know works inv0.7.2
) this might have resulted from not runningyarn build
prior to release? Further evidence for this is from socket.dev, which shows the file missing from the package forv0.7.3
, but present forv0.7.2
.Error:
The text was updated successfully, but these errors were encountered: