Skip to main content

Troubleshooting

Below is a list of common issues that may come up when integrating the Collaboration Modules.

Cannot find module 'winston'#

Winston is listed as a peer dependency of @pdftron/collab-server, meaning it is not installed by default when running npm install. We list this as a peer dependency because we allow direct interfacing with our internal Winston logging mechanism, and if a project is already using Winston, then there would be two versions installed.

The fix#

Manually install winston

npm i winston --save

Errors related to resolvers#

If there are any errors coming from your resolvers, the issue is most likely that the wrong data is being read/written.

If you run into any issues like this, please try our resolver testing suite. This tool will report any issues with your resolvers.