Skip to content

Can't build gatsby v4 site when "--ignore-optional" is used #33927

Answered by LekoArts
pedrolamas asked this question in Help
Discussion options

You must be logged in to vote

The dependency is marked as optional as you can also use cbor-x instead. But by default msgpackr is used (and there's no reason to switch) so the npm package is necessary.

https://github.com/DoctorEvidence/lmdb-store/blob/11ec0f24bcfed9bf1dbce80c064eec51f311a963/index.js#L211

If you want to use the --ignore-optional you'll have to add it to the dependencies yourself then.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pedrolamas
Comment options

@LekoArts
Comment options

Answer selected by pedrolamas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #33922 on November 10, 2021 14:08.