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.

Can not run dev server after update

See original GitHub issue

What happened?

I can run dev server with quasar dev -m ssr on versions quasar@2.5.5 and @quasar/cli@1.2.2

When I have updated packages to quasar@2.6.0 and @quasar/cli@1.3.0 I have got the error:

node:internal/modules/cjs/loader:933
  const err = new Error(message);
              ^

Error: Cannot find module 'quasar/dist/ssr-directives/index.js'
Require stack:
- /sites/my/xii-dadvert2/quasar/node_modules/@quasar/app/lib/quasar-conf-file.js
- /sites/my/xii-dadvert2/quasar/node_modules/@quasar/app/bin/quasar-dev
- /sites/my/xii-dadvert2/quasar/node_modules/@quasar/app/bin/quasar
- /sites/my/xii-dadvert2/quasar/node_modules/@quasar/cli/bin/quasar
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at QuasarConfFile.compile (/sites/my/xii-dadvert2/quasar/node_modules/@quasar/app/lib/quasar-conf-file.js:575:14)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async goLive (/sites/my/xii-dadvert2/quasar/node_modules/@quasar/app/bin/quasar-dev:243:3) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/sites/my/xii-dadvert2/quasar/node_modules/@quasar/app/lib/quasar-conf-file.js',
    '/sites/my/xii-dadvert2/quasar/node_modules/@quasar/app/bin/quasar-dev',
    '/sites/my/xii-dadvert2/quasar/node_modules/@quasar/app/bin/quasar',
    '/sites/my/xii-dadvert2/quasar/node_modules/@quasar/cli/bin/quasar'
  ]
}

What did you expect to happen?

The devr server has to work

Reproduction URL

https://codepen.io/rstoenescu/pen/xxEvBLR

How to reproduce?

I don’t know how to reproduce this bug outside, sorry

Flavour

Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite), SSR Mode

Platforms/Browsers

Chrome

Quasar info output

Operating System   	Linux(5.4.0-104-generic) - linux/x64
NodeJs             	16.14.0

Global packages    	
  NPM              	8.5.1
  yarn             	1.22.17
  @quasar/cli      	1.2.1
  @quasar/icongenie	Not installed
  cordova          	Not installed

Relevant log output

No response

Additional context

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
m00nkcommented, Mar 14, 2022

@MilosPaunovic thank you.

1reaction
rstoenescucommented, Mar 14, 2022
image image
Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack-dev-server compiles files but does not refresh or ...
So with this setup, I run npm run dev . The webpack-dev-server starts up, the module loader test works (i.e. when I save...
Read more >
Unable to start the dev server. Error: The dev server is not ...
To fix this, the install , verify , and uninstall should be updated on Mac. Install should check to see if anything with...
Read more >
Why webpack-dev-server Live-Reload Is Not Working - Medium
Q6: When I modify javascript files, I have to manually run Webpack CLI to see changes to bundle. js in the local filesystem,...
Read more >
Solution for Webpack 5 Dev Server Not Live Reloading
There is currently a bug with Webpack 5 and webpack- dev - server not working that is caused by the existence of a...
Read more >
Hot Module Replacement - webpack
You can use the CLI to modify the webpack-dev-server configuration with the following command: webpack serve --hot-only . Now let's update the index.js...
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