GithubHelp home page GithubHelp logo

Comments (7)

rstoenescu avatar rstoenescu commented on June 8, 2024 2

New releases of q/app-vite & q/app-webpack are available which fix this issue.

from quasar.

IGZmanuelMartinVivaldi avatar IGZmanuelMartinVivaldi commented on June 8, 2024 1

After downgrading quasar it worked again:
yarn add [email protected]

I downgraded others before and didn´t work but maybe are required too:

yarn add [email protected]  
yarn add @quasar/[email protected]

from quasar.

evandor avatar evandor commented on June 8, 2024 1

I can confirm that my projects compile again when downgrading quasar back to 2.15.2

from quasar.

evandor avatar evandor commented on June 8, 2024 1

Confirming that the fix is working for me; for completeness here's my quasar info output:

`Operating System - Darwin(23.4.0) - darwin/arm64
NodeJs - 18.19.1

Global packages
NPM - 10.2.4
yarn - 1.22.19
@quasar/cli - 2.4.0
@quasar/icongenie - 4.0.0
cordova - 12.0.0 ([email protected])

Important local packages
quasar - 2.15.3 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
@quasar/app-vite - 1.8.2 -- Quasar Framework App CLI with Vite
@quasar/extras - 1.16.11 -- Quasar Framework fonts, icons and animations
eslint-plugin-quasar - Not installed
vue - 3.4.23 -- The progressive JavaScript framework for building modern web UI.
vue-router - 4.3.2
pinia - 2.1.7 -- Intuitive, type safe and flexible Store for Vue
vuex - Not installed
vite - 2.9.18 -- Native-ESM powered web dev build tool
eslint - Not installed
electron - 29.3.1 -- Build cross platform desktop apps with JavaScript, HTML, and CSS
electron-packager - 17.1.2 -- Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI
electron-builder - Not installed
register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
@capacitor/core - 5.6.0 -- Capacitor: Cross-platform apps with JavaScript and the web
@capacitor/cli - 5.6.0 -- Capacitor: Cross-platform apps with JavaScript and the web
@capacitor/android - Not installed
@capacitor/ios - 5.6.0 -- Capacitor: Cross-platform apps with JavaScript and the web

Quasar App Extensions
@quasar/quasar-app-extension-testing-unit-vitest - 1.0.0 -- A Quasar App Extension for running tests with Vitest
`

from quasar.

KristijanS99 avatar KristijanS99 commented on June 8, 2024

Same here! I started a fresh project in order to port our extension to Manifest V3 and I cannot run the dev/build process for it... tried with the v1 stable and v2 beta. Both of them have the same issue.
In my case it doesn't matter if I remove node_modules or not, it does not work anyhow (probably because I am running from scratch so it always pulls the latest changes).

`kristijanstefanoski@Kristijans-MBP bex-project % npx quasar dev -m bex

 .d88888b.
d88P" "Y88b
888     888
888     888 888  888  8888b.  .d8888b   8888b.  888d888
888     888 888  888     "88b 88K          "88b 888P"
888 Y8b 888 888  888 .d888888 "Y8888b. .d888888 888
Y88b.Y8b88P Y88b 888 888  888      X88 888  888 888
 "Y888888"   "Y88888 "Y888888  88888P' "Y888888 888
       Y8b

 App •  WAIT  • Compiling of Background Script with Esbuild in progress...
✘ [ERROR] Could not resolve "quasar/src/utils/uid"

    .quasar/bex/bridge.js:8:16:
      8 │ import uid from 'quasar/src/utils/uid'
        ╵                 ~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "quasar/src/utils/uid" as external to exclude it from the bundle, which will
  remove this error.

/Users/kristijanstefanoski/Desktop/workspace/bex-project/node_modules/esbuild/lib/main.js:1621
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 1 error:
.quasar/bex/bridge.js:8:16: ERROR: Could not resolve "quasar/src/utils/uid"
    at failureErrorWithLog (/Users/kristijanstefanoski/Desktop/workspace/bex-projec/node_modules/esbuild/lib/main.js:1621:15)
    at /Users/kristijanstefanoski/Desktop/workspace/bex-projec/node_modules/esbuild/lib/main.js:1263:28
    at runOnEndCallbacks (/Users/kristijanstefanoski/Desktop/workspace/bex-projec2/node_modules/esbuild/lib/main.js:1176:65)
    at buildResponseToResult (/Users/kristijanstefanoski/Desktop/workspace/bex-projec/node_modules/esbuild/lib/main.js:1261:7)
    at /Users/kristijanstefanoski/Desktop/workspace/bex-projec/node_modules/esbuild/lib/main.js:1374:14
    at /Users/kristijanstefanoski/Desktop/workspace/bex-projec/node_modules/esbuild/lib/main.js:675:9
    at handleIncomingPacket (/Users/kristijanstefanoski/Desktop/workspace/bex-projec/node_modules/esbuild/lib/main.js:772:9)
    at Socket.readFromStdout (/Users/kristijanstefanoski/Desktop/workspace/bex-projec/node_modules/esbuild/lib/main.js:641:7)
    at Socket.emit (node:events:518:28)
    at addChunk (node:internal/streams/readable:559:12) {
  errors: [
    {
      detail: undefined,
      id: '',
      location: {
        column: 16,
        file: '.quasar/bex/bridge.js',
        length: 22,
        line: 8,
        lineText: "import uid from 'quasar/src/utils/uid'",
        namespace: '',
        suggestion: ''
      },
      notes: [
        {
          location: null,
          text: 'You can mark the path "quasar/src/utils/uid" as external to exclude it from the bundle, which will remove this error.'
        }
      ],
      pluginName: '',
      text: 'Could not resolve "quasar/src/utils/uid"'
    }
  ],
  warnings: []
}

Node.js v20.11.1`

from quasar.

IGZmanuelMartinVivaldi avatar IGZmanuelMartinVivaldi commented on June 8, 2024

Same problem in v1 after updating dependencies

d88888b.
d88P" "Y88b
888     888
888     888 888  888  8888b.  .d8888b   8888b.  888d888
888     888 888  888     "88b 88K          "88b 888P"
888 Y8b 888 888  888 .d888888 "Y8888b. .d888888 888
Y88b.Y8b88P Y88b 888 888  888      X88 888  888 888
"Y888888"   "Y88888 "Y888888  88888P' "Y888888 888
      Y8b

App •  WAIT  • Compiling of Background Script with Esbuild in progress...
X [ERROR] Could not resolve "quasar/src/utils/uid"

   .quasar/bex/bridge.js:8:16:
     8 │ import uid from 'quasar/src/utils/uid'
       ╵                 ~~~~~~~~~~~~~~~~~~~~~~

 You can mark the path "quasar/src/utils/uid" as external to exclude it from the bundle, which will
 remove this error.

C:\IGZ\Proyectos\Personal\Amazon_wishlist\AZ-WishList\node_modules\esbuild\lib\main.js:1621
 let error = new Error(`${text}${summary}`);
Operating System - Windows_NT(10.0.22631) - win32/x64
NodeJs - 20.12.2

Global packages
  NPM - 10.5.2
  yarn - 1.22.19
  @quasar/cli - 2.3.0
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages
  quasar - 2.15.3 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.8.1 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.16.11 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.4.23 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.3.2
  pinia - Not installed
  vuex - 4.1.0 -- state management for Vue.js
  vite - 2.9.18 -- Native-ESM powered web dev build tool
  eslint - 8.57.0 -- An AST-based pattern checker for JavaScript.
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Quasar App Extensions
  *None installed*

from quasar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.