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.

@quasar/app uses undeclared dependency "pretty-error"

See original GitHub issue
Error: @quasar/app tried to access pretty-error, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: pretty-error (via "pretty-error")
Required by: @quasar/app@npm:2.1.14 (via /Users/lucaban/ghq/github.com/CyCraft/magnetar/.yarn/cache/@quasar-app-npm-2.1.14-3e6d9e2195-872dda9a1f.zip/node_modules/@quasar/app/lib/helpers/)

Require stack:
- /Users/lucaban/ghq/github.com/CyCraft/magnetar/.yarn/cache/@quasar-app-npm-2.1.14-3e6d9e2195-872dda9a1f.zip/node_modules/@quasar/app/lib/helpers/cli-error-handling.js
- /Users/lucaban/ghq/github.com/CyCraft/magnetar/.yarn/cache/@quasar-app-npm-2.1.14-3e6d9e2195-872dda9a1f.zip/node_modules/@quasar/app/bin/quasar
- /usr/local/lib/node_modules/@quasar/cli/bin/quasar
    at internalTools_makeError (/Users/lucaban/ghq/github.com/CyCraft/magnetar/.pnp.js:32317:34)
    at resolveToUnqualified (/Users/lucaban/ghq/github.com/CyCraft/magnetar/.pnp.js:33282:23)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rstoenescucommented, Apr 16, 2021

This will become an obsolete thing anyway. Working on the Webpack 5 upgrade and I’m at the stage of redesigning how all errors and warnings are caught and displayed. This includes explicitly adding pretty-error as a direct dep of q/app.

0reactions
merceyzcommented, Apr 16, 2021

The html-webpack-plugin already includes it

That’s not how that works, if you’re interested see https://yarnpkg.com/advanced/rulebook#packages-should-only-ever-require-what-they-formally-list-in-their-dependencies for details on dependency hoisting

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are unused/undeclared dependencies in Maven? What ...
Used undeclared dependencies are those which are required, but have not been explicitly declared as dependencies in your project.
Read more >
Detecting unused/undeclared dependencies - O'Reilly
Run the following Maven command on the demo-selendroid project that we used earlier: mvn dependency:analyze · Note the report generated: [WARNING] Used ......
Read more >
mvn dependency:analyze detected wrong transitive dependency
I only used ApacheJMeter_http. However, the command mvn dependency:analyze will report a used undeclared dependency: dnsjava.
Read more >
dependency-check-cli – Dependencies Report
Dependency Analysis · Used and declared dependencies · Used but undeclared dependencies · Unused but declared dependencies · Compile Scoped Test Dependencies.
Read more >
Detecting unused/undeclared dependencies | Apache Maven ...
Run the following Maven command on the demo-selendroid project that we used earlier: mvn dependency:analyze. Copy · Note the report generated: [WARNING] Used...
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