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

Failed to compile with error #198

Closed
signight opened this issue Nov 23, 2021 · 1 comment
Closed

Failed to compile with error #198

signight opened this issue Nov 23, 2021 · 1 comment

Comments

@signight
Copy link

ERROR Failed to compile with 1 error 下午4:36:51

error in ./node_modules/screenfull/index.js

Module parse failed: Unexpected token (55:42)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| for (const methodList of methodMap) {

          const exitFullscreenMethod = methodList?.[1];

| if (exitFullscreenMethod in document) {
| for (const [index, method] of methodList.entries()) {

Which loader should I need to install ?thx

@sindresorhus
Copy link
Owner

Duplicate of #195

@sindresorhus sindresorhus marked this as a duplicate of #195 Nov 23, 2021
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