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

Could not find module "browsers-support" while building #26

Closed
saifobeidat opened this issue Oct 6, 2020 · 4 comments
Closed

Could not find module "browsers-support" while building #26

saifobeidat opened this issue Oct 6, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@saifobeidat
Copy link

I am trying to generate Static Pages using this extension by this command : build:ssg': 'quasar ssg generate but it fails with following error Error: Cannot find module 'C:\Users\user\repos\abwaabv2\node_modules\@quasar\app\lib\helpers\browsers-support'

Here's a screenshot of the issue:
image

(node:18516) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:18516) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I am not sure, how can I get this "browsers-supports"?

Any insights please.

@freddy38510
Copy link
Owner

@saifobeidat thanks for reporting this issue.

Which version of @quasar/app are you using ?

You can see the file `browsers-support.js' added in this commit quasarframework/quasar@cd2c38a

@saifobeidat
Copy link
Author

saifobeidat commented Oct 7, 2020

Thanks @freddy38510 for your quick answer, the version is "@quasar/app": "^1.8.10"..

should I upgrade it to make it work?

@freddy38510
Copy link
Owner

This file was added in @quasar/app@2.0.0, sorry for this drawback. You don't have to update Quasar if you don't want/need to.
Please update this extension and tell me if the issue is fixed for you, thanks :)

@saifobeidat
Copy link
Author

saifobeidat commented Oct 11, 2020

@freddy38510 Thanks, the error has gone and it started to build, but I faced another issue, I will post it separately.

@freddy38510 freddy38510 added the bug Something isn't working label May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants