Open abatardi opened 6 years ago
I am getting this error too.
I am new to quasar/vue and wondering where I can debug this.
I get the same error:
app:quasar-conf Reading quasar.conf.js +0ms (node:1280) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '...\src\router\index.js'
- legacy-validations.js:104 legacyValidations [Einstein.WebUI]/[quasar-cli]/lib/legacy-validations.js:104:15
This error was correct because I renamed the file to typescript: index.td
quasar info:
Operating System Windows_NT(10.0.17134) - win32/x64 NodeJs 10.14.1
Global packages NPM 6.4.1 yarn Not installed quasar-cli 0.17.22 vue-cli 2.9.6 cordova Not installed
Important local packages quasar-cli 0.17.22 (Quasar Framework CLI) quasar-framework 0.17.18 (Build responsive SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase) quasar-extras 2.0.9 (Quasar Framework fonts, icons and animations) vue 2.5.19 (Reactive, component-oriented view layer for modern web interfaces.) vue-router 3.0.2 (Official router for Vue.js 2) vuex 3.0.1 (state management for Vue.js) electron Not installed electron-packager Not installed electron-builder Not installed @babel/core 7.2.0 (Babel compiler core.) webpack 4.27.1 (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.1.10 (Serves a webpack app. Updates the browser on changes.) workbox-webpack-plugin 3.6.3 (A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.) register-service-worker 1.5.2 (Script for registering service worker, with hooks)
I get this UnhandledPromiseRejectionWarning a lot and its really annoying because It doesn't always tell me the real error right away.
Is there a fix for this already?
Kind regards, Henry Roeland
Software version
quasar-cli: v0.17.22 quasar framework: v0.17.18
OS: Ubuntu 16.04.3 LTS Node: v8.14.0 NPM: 6.4.1 Any other software related to your bug:
What did you get as the error?
What were you expecting?
Clean install/project creation with no errors.
What steps did you take, to get the error?
Brand new installation using:
Running command: vue init 'quasarframework/quasar-starter-kit' outoftime
? Project name (internal usage for dev) outoftime ? Project product name (official name) Out of Time! ? Project description Test Quasar Application ? Author me ? Check the features needed for your project: ESLint, Vuex, Axios, Vue-i18n, IE11 support ? Pick an ESLint preset Standard ? Cordova id (disregard if not building mobile apps) org.cordova.quasar.outoftime ? Should we run
npm install
for you after the project has been created? (recommended) yarnvue-cli · Generated "outoftime".
...dependencies installed...
To get started:
cd outoftime quasar dev
Dev mode.......... spa Quasar theme...... mat Quasar CLI........ v0.17.22 Quasar Framework.. v0.17.18 Debugging......... enabled
app:quasar-conf Reading quasar.conf.js +0ms app:dev Checking listening address availability (0.0.0.0:8080)... +2ms app:webpack Extending SPA Webpack config +294ms app:generator Generating Webpack entry point +6ms app:dev-server Booting up... +1ms
SPA █████████████████████████ [100%] in ~6s
DONE Compiled successfully in 6458ms 10:14:19
N App URL........... http://localhost:8080/ Dev mode.......... spa Quasar theme...... mat Quasar CLI........ v0.17.22 Quasar Framework.. v0.17.18
I thought this might be related to the 'gzip: true' bug, but that was already commented out in quasar.conf.js -- I tried to uncomment it and set it to both true and false explicitly but got the same result.