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

Module not found: Error: Can't resolve 'xmldom-qsa' in .../node_modules/@nativescript/canvas-polyfill #56

Closed
elcreator opened this issue Sep 14, 2021 · 2 comments

Comments

@elcreator
Copy link

Module not found: Error: Can't resolve 'xmldom-qsa' in '.../node_modules/@nativescript/canvas-polyfill'
resolve 'xmldom-qsa' in '.../node_modules/@nativescript/canvas-polyfill'
Parsed request is a module
using description file: .../node_modules/@nativescript/canvas-polyfill/package.json (relative path: .)
resolve as module
looking for modules in .../node_modules
single file module
using description file: .../package.json (relative path: ./node_modules/xmldom-qsa)
no extension

I installed xmldom-qsa via npm i xmldom-qsa and error was gone. I think it should be in the canvas-polyfill dependencies or peerDependencies

@triniwiz
Copy link
Member

Is this using the @beta version of the polyfill?

@elcreator
Copy link
Author

@nativescript/canvas-phaser@beta requires @nativescript/canvas-polyfill@1.0.0-v6
Additional installation of the beta fixed this, thank you.

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

No branches or pull requests

2 participants