Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package:discover fails #11

Closed
RossComputerGuy opened this issue Feb 10, 2019 · 2 comments
Closed

package:discover fails #11

RossComputerGuy opened this issue Feb 10, 2019 · 2 comments

Comments

@RossComputerGuy
Copy link

When trying to run osjs-cli package:discover, this error appeared:

> @bluelightos/osjs@3.0.0-beta.11 package:discover /home/spaceboyross/Projects/pacman-repo/bluelight-base/pkg/bluelight-base/opt/os.js
> osjs-cli package:discover

/home/spaceboyross/Projects/pacman-repo/bluelight-base/pkg/bluelight-base/opt/os.js/node_modules/ajv/lib/keyword.js:65
      throw new Error('custom keyword definition is invalid: '  + this.errorsText(validateDefinition.errors));
      ^

Error: custom keyword definition is invalid: data/errors should be boolean
    at Ajv.addKeyword (/home/spaceboyross/Projects/pacman-repo/bluelight-base/pkg/bluelight-base/opt/os.js/node_modules/ajv/lib/keyword.js:65:13)
    at module.exports (/home/spaceboyross/Projects/pacman-repo/bluelight-base/pkg/bluelight-base/opt/os.js/node_modules/ajv-errors/index.js:10:7)
    at Object.<anonymous> (/home/spaceboyross/Projects/pacman-repo/bluelight-base/pkg/bluelight-base/opt/os.js/node_modules/schema-utils/src/validateOptions.js:22:1)
    at Module._compile (internal/modules/cjs/loader.js:734:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
    at Module.load (internal/modules/cjs/loader.js:626:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
    at Function.Module._load (internal/modules/cjs/loader.js:558:3)
    at Module.require (internal/modules/cjs/loader.js:663:17)
    at require (internal/modules/cjs/helpers.js:20:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @bluelightos/osjs@3.0.0-beta.11 package:discover: `osjs-cli package:discover`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @bluelightos/osjs@3.0.0-beta.11 package:discover script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/spaceboyross/.npm/_logs/2019-02-10T01_05_53_646Z-debug.log
@andersevenrud
Copy link
Member

This is because an update of ajv broke webpack:

webpack/webpack#8768

@andersevenrud
Copy link
Member

Seems to have been resolved in: ajv-validator/ajv#941

Try running npm update, then try again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants