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

Error when run quasar dev spa #39

Open
bungsu1996 opened this issue Jan 26, 2023 · 1 comment
Open

Error when run quasar dev spa #39

bungsu1996 opened this issue Jan 26, 2023 · 1 comment

Comments

@bungsu1996
Copy link

Can you help me with this sir ?
i tried to find this error, but until now i cant found that

D:\Logic Javascript\quasar_crm_admin_1\quasar-admin-crm>quasar dev

Dev mode.......... spa
Pkg quasar........ v1.22.5
Pkg @quasar/app... v2.4.3
Debugging......... enabled

Configured browser support (at least 47.93% of global marketshare):
· Chrome for Android >= 109
· Firefox for Android >= 107
· QQ for Android >= 13.1
· UC for Android >= 13.4
· Android >= 109
· Chrome >= 109
· Edge >= 109
· Firefox >= 109
· IE >= 11
· iOS >= 16.3
· Kaios >= 2.5
· Opera Mini >= all
· Opera Mobile >= 72
· Opera >= 92
· Safari >= 16.3
· Samsung >= 19.0

App · Running "@quasar/qcalendar" Quasar App Extension...
App · Reading quasar.conf.js
App · Checking listening address availability (0.0.0.0:8080)...
App · Extension(@quasar/qcalendar): Extending quasar.conf...
App · Transpiling JS (Babel active) - includes IE11 support
App · Extending SPA Webpack config
App · Generating Webpack entry point
App · Booting up...

• Compiling:
└── SPA ████████████████████ 100% done in 12900 ms

ERROR Failed to compile with 2 errors 12:01:26

error

Template execution failed: TypeError: Cannot read property 'mode' of undefined

error

@mayank091193
Copy link
Owner

mayank091193 commented Jan 26, 2023

Hey, please try to make the following change in /src/index.template.html file.

Replace all occurrences of htmlWebpackPlugin.options.ctx.mode with ctx.mode

Save changes and then try to run again and let me know the result.

Thanks,
Mayank

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