question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to run quasar dev on @quasar/app 1.4.3

See original GitHub issue

Describe the bug Upgrading to @quasar/app 1.4.3 makes the command quasar dev fail.

Top error message after running the quasar dev command is:

Error Unknown command “dev”

Tried to downgrade to @quasar/app^1.4.2 and app runs properly.

Codepen/jsFiddle/Codesandbox (required) I don’t know how to set up this issue Codepen/jsFiddle/Codesandbox

To Reproduce Steps to reproduce the behavior:

  1. Upgrade or create a fresh project with @quasar/app^1.4.3
  2. Run quasar dev
  3. Error Unknown command “dev”

Expected behavior App should run in dev mode

Additional Info

What I’ve tried:

  1. Remove yarn.lock and node_modules (even .quasar on a different run) and reinstalled
  2. Cloned the repo again so it’s fresh
  3. Removed and installed @quasar/cli (both in npm and in yarn one instance a time)
  4. Weird thing is, I tried to run quasar -v in my terminal and it shows 1.0.5 while when I ran it in my colleague’s terminal, it shows 1.4.3 (after upgrade)

Before Upgrade

quasar info

Operating System - Windows_NT(10.0.18362) - win32/x64
NodeJs - 12.14.0

Global packages
  NPM - 6.13.4
  yarn - 1.19.1
  @quasar/cli - 1.0.5
  cordova - You have been opted out of telemetry. To change this, run: cordova telemetry on.
9.0.0 (cordova-lib@9.0.1)

Important local packages
  quasar - 1.5.11 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app - 1.4.2 -- Quasar Framework local CLI
  @quasar/extras - 1.3.3 -- Quasar Framework fonts, icons and animations
  vue - 2.6.11 -- Reactive, component-oriented view layer for modern web interfaces.
  vue-router - 3.1.3 -- Official router for Vue.js 2
  vuex - 3.1.2 -- state management for Vue.js
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed
  @babel/core - 7.7.7 -- Babel compiler core.
  webpack - 4.41.3 -- Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. 
json, jsx, es7, css, less, ... and your custom stuff.
  webpack-dev-server - 3.9.0 -- Serves a webpack app. Updates the browser on changes.
  workbox-webpack-plugin - 4.3.1 -- A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.
  register-service-worker - 1.6.2 -- Script for registering service worker, with hooks

Quasar App Extensions
  @quasar/quasar-app-extension-testing - 1.0.0 -- A Quasar App Extension for managing Test Harnesses
  @quasar/quasar-app-extension-testing-unit-jest - 1.0.0 -- A Quasar App Extension for running Jest tests
  @quasar/quasar-app-extension-icon-genie - 1.1.3 -- A Quasar CLI Extension for Making All Your Icons

After Upgrade to 1.4.3

quasar info

Operating System        Windows_NT(10.0.18362) - win32/x64
NodeJs                  12.14.0

Global packages
  NPM                   6.13.4
  yarn                  1.19.1
  @quasar/cli           1.0.5
  cordova               You have been opted out of telemetry. To change this, run: cordova telemetry on.
9.0.0 (cordova-lib@9.0.1)

Networking
  Host                  BGINNB057
  Wi-Fi                 192.168.1.178

quasar -version

1.0.5

Platform (please complete the following information): OS: Windows 10 Node: 12.14.0 NPM: 6.13.4 Yarn: 1.19.1 Terminal: Powershell Browsers: Chrome

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

20reactions
pdanpdancommented, Jan 9, 2020

Try this sequence in the folder of the project:

npm -g cache clean --force
npm -g cache verify

npm cache clean --force
npm cache verify

yarn global remove @quasar/cli
npm -g uninstall @quasar/cli
npm -g install @quasar/cli

yarn remove @quasar/cli
npm uninstall @quasar/cli

// delete node_modules, yarn.lock, package-lock.json

yarn

quasar info
0reactions
flowt-aucommented, May 22, 2022

@pdanpdan I had a similar issue with Quasar v2.7.0 and @quasar/app-weback v3.5.2 on a Win10 box. After running your list of command above, all worked properly. Thanks, Murray

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fails to run quasar dev on @quasar/app 1.4.3 - Bountysource
Upgrading to @quasar/app 1.4.3 makes the command quasar dev fail. Top error message after running the quasar dev command is:.
Read more >
$ quasar dev not working | Quasar Framework Community
Hi there. I have a problem whit quasar when I run: $ quasar dev I get the following output in terminal: app:dev Running:...
Read more >
@quasar/app NPM | npm.io
Build high-performance VueJS user interfaces in record time: responsive Single Page Apps, SSR Apps, PWAs, Browser extensions, Hybrid Mobile Apps and Electron ...
Read more >
Commands List | Quasar Framework
Familiarize yourself with the list of available commands inside a Quasar project: $ quasar Example usage $ quasar <command> <options> Help for a...
Read more >
Why Quasar Dev Not Working, When Execute ... - ADocLib
The Quasar development server allows you to develop your App by compiling and maintaining code ... Fails to run quasar dev on @quasar/app...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found