quasar: Fails to run quasar dev on @quasar/app 1.4.3
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:
- Upgrade or create a fresh project with
@quasar/app^1.4.3
- Run
quasar dev
- Error Unknown command “dev”
Expected behavior App should run in dev mode
Additional Info
What I’ve tried:
- Remove yarn.lock and node_modules (even .quasar on a different run) and reinstalled
- Cloned the repo again so it’s fresh
- Removed and installed @quasar/cli (both in npm and in yarn one instance a time)
- Weird thing is, I tried to run
quasar -v
in my terminal and it shows1.0.5
while when I ran it in my colleague’s terminal, it shows1.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
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (3 by maintainers)
Try this sequence in the folder of the project:
I was in the wrong folder when it happened to me. When I cloned the empty repo onto my computer, it created a folder and put the code inside there. Make sure you are in the right folder when running the command.