-
Since there is a node-gyp bug on linux on 0.2 of nodecg-io I have to use the development version. Which for me in itself is fine. However the bundle generated by the generate command ends with this error:
what is the correct way of fixing this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It seems like this exact error is fixed by just replacing it with |
Beta Was this translation helpful? Give feedback.
-
This is a problem specific to the twitch services, other services work fine. Your workaround with |
Beta Was this translation helpful? Give feedback.
This is a problem specific to the twitch services, other services work fine.
All twitch services depend on the utility package
nodecg-io-twitch-auth
and the package.json of each service depends on the latest development version (currently0.3.0
). When installing the packages for these services using tarballs, npm is able to get the service package but that still points to version0.3.0
of the util package which npm tries to get from the npm registry.This fails because the package has not been published yet and the service package should depend on the tarball of the util package.
Your workaround with
overrides
is fine for now but we definitely should patch thepackage.json
file of the twi…