Closed tomers closed 4 years ago
I get error while trying to execute the demo folder:
$ quasar dev Dev mode.......... spa Pkg quasar........ v1.4.1 Pkg @quasar/app... v1.2.3 Debugging......... enabled app:extension Running "@quasar/qmarkdown" Quasar App Extension... +0ms app:extension Running "@quasar/qribbon" Quasar App Extension... +6ms app:extension Running "@quasar/qpublish" Quasar App Extension... +2ms app:quasar-conf Reading quasar.conf.js +3ms app:dev Checking listening address availability (0.0.0.0:8080)... +1ms app:quasar-conf Extension(@quasar/qmarkdown): Extending quasar.conf... +8ms App Extension (qmarkdown) Info: 'Adding qmarkdown boot reference to your quasar.conf.js' App Extension (qmarkdown) Info: 'Adding markdown.styl css reference to your quasar.conf.js' app:quasar-conf Extension(@quasar/qribbon): Extending quasar.conf... +0ms App Extension (qribbon) Info: 'Adding qribbon boot reference to your quasar.conf.js' App Extension (qribbon) Info: 'Adding ribbon-*.styl css reference to your quasar.conf.js' app:quasar-conf Extension(@quasar/qpublish): Extending quasar.conf... +1ms App Extension (qpublish) Info: 'Adding qpublish boot reference to your quasar.conf.js' App Extension (qpublish) Info: 'Adding stylus css reference to your quasar.conf.js' app:webpack Extension(@quasar/qmarkdown): Chaining SPA Webpack config +378ms App Extension (qmarkdown) Info: 'Adding markdown loader to chainWebpack in your quasar.conf.js' App Extension (qmarkdown) Info: 'Adding .vmd (vue+markdown) loader to chainWebpack in your quasar.conf.js' app:webpack Chaining SPA Webpack config +0ms app:webpack Extending SPA Webpack config +7ms app:generator Generating Webpack entry point +4ms app:dev-server Booting up... +4ms SPA █████████████████████████ [100%] in ~12s ERROR Failed to compile with 1 errors 5:51:48 PM This dependency was not found: * api in ./node_modules/babel-loader/lib??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/Index.vue?vue&type=script&lang=js& To install it, you can run: npm install --save api ~/dev/quasar-ui-qiconpicker/demo $ git diff package.json ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── modified: demo/package.json ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── @ demo/package.json:18 @ "dependencies": { "@quasar/extras": "^1.3.3", "@quasar/quasar-ui-qiconpicker": "../ui", "api": "^1.0.0", "quasar": "^1.4.1" }, "devDependencies": { ~/dev/quasar-ui-qiconpicker/demo ~/dev/quasar-ui-qiconpicker/demo $ quasar info Operating System - Darwin(18.7.0) - darwin/x64 NodeJs - 12.12.0 Global packages NPM - 6.12.0 yarn - 1.19.1 @quasar/cli - 1.0.2 cordova - Not installed Important local packages quasar - 1.4.1 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time @quasar/app - 1.2.3 -- Quasar Framework local CLI @quasar/extras - 1.3.3 -- Quasar Framework fonts, icons and animations vue - 2.6.10 -- Reactive, component-oriented view layer for modern web interfaces. vue-router - 3.1.3 -- Official router for Vue.js 2 vuex - 3.1.1 -- state management for Vue.js electron - 7.1.1 -- Build cross platform desktop apps with JavaScript, HTML, and CSS 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.2 -- Babel compiler core. webpack - 4.41.2 -- 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-qmarkdown - 1.0.0-beta.21 -- Display inline markdown in your Quasar App @quasar/quasar-app-extension-qribbon - 1.0.0-beta.8 -- QRibbon - Quasar App Extension @quasar/quasar-app-extension-qpublish - 1.0.0-alpha.7 -- Create a static website with Markdown and Quasar
@tomers I don't know how API is in your dependencies. Remove it. Run "yarn --force". The API in reference is a webpack alias. Make sure you build the UI folder first.
I get error while trying to execute the demo folder: