Can not run dev server after update
See original GitHub issueWhat 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:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MilosPaunovic thank you.