Repository navigation
feat: ensure further resolvers get a chance to run - #17
Conversation
adds new plugin to help debug pnp resolver errors
|
Adding a new plugin is difficult, because it would require to also change CRA, Next, Gatsby, Vue-CLI, etc. Any idea if this can be done in the resolver somehow, thus keeping the public API? Maybe by hooking at the very last step of the resolver, right before it would throws, and instead throwing the error we would have previously set in the context object? |
|
I've looked through But it doesn't print it to the console. For context however, the error message PnP is throwing in this case is not really useful. The dependency that's broken and needs a peer to This is the # apollo-link-ws@*:
# peerDependencies:
# graphql: "*"The actual stack trace shown by webpack/enhanced-resolve properly hints to |


Also adds new plugin to help debug pnp resolver errors. I've updated the README.Fixes #16
I have tested it and the output looks like this: