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

Remove dependency on canvas #354

Merged
merged 2 commits into from
Dec 27, 2020
Merged

Remove dependency on canvas #354

merged 2 commits into from
Dec 27, 2020

Conversation

southpolesteve
Copy link
Contributor

This adds a mock module for canvas. Nteract has a ignored require and undeclared dependency on this module. cavnas is a server side node module and is not used in browser side code for nteract.

Installing it locally (npm install canvas) will resolve the problem, but it is a native module so it is flaky depending on the system, node version, processor arch, etc. This module provides a simpler, more robust solution.

Remove this workaround if this bug gets resolved

@southpolesteve southpolesteve requested a review from a team as a code owner December 27, 2020 03:10
@southpolesteve southpolesteve merged commit cc63cdc into master Dec 27, 2020
@southpolesteve southpolesteve deleted the remove-canvas-dep branch December 27, 2020 03:56
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

Successfully merging this pull request may close these issues.

1 participant