Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New install can not start the server : Dependency resoltion error #4654

Open
ezzle opened this issue Jul 22, 2024 · 1 comment
Open

New install can not start the server : Dependency resoltion error #4654

ezzle opened this issue Jul 22, 2024 · 1 comment
Labels

Comments

@ezzle
Copy link

ezzle commented Jul 22, 2024

New install.
Can't start the server

[nodemon] 3.1.4
[nodemon] reading config .\package.json
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 19252 to restart
[nodemon] ignoring: .git **/ui/apos/**/* **/ui/src/**/* **/ui/public/**/* locales/*.json .\public\uploads/**/* public/apos-frontend/*.js .\data/**/*
[nodemon] watching path(s): app.js modules\**\* lib\**\*.js views\**\*.html
[nodemon] watching extensions: json,js,html,scss,vue
[nodemon] starting `node app.js`
[nodemon] forking
[nodemon] child pid: 17220
[nodemon] watching 13 files
🧑‍💻 Building the Public-facing modern JavaScript and Sass...
asset src-build.js 3.36 KiB [emitted] (name: src-build) 1 related asset
cached modules 274 bytes [cached] 1 module
./apos-build/default/src-import.js 1.06 KiB [built]

ERROR in ./apos-build/default/src-import.js 15:5-105
Module not found: Error: Can't resolve 'node_modules\apostrophe\modules\@apostrophecms\util\ui\src\index.js' in 'D:\Workspace\Apox\apos-esse\apos-build\default'
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".js"]' instead of '["*",".js"]'?

ERROR in ./apos-build/default/src-import.js 18:0-105
Module not found: Error: Can't resolve 'node_modules\apostrophe\modules\@apostrophecms\admin-bar\ui\src\index.js' in 'D:\Workspace\Apox\apos-esse\apos-build\default'
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".js"]' instead of '["*",".js"]'?

ERROR in ./apos-build/default/src-import.js 21:0-108
Module not found: Error: Can't resolve 'node_modules\apostrophe\modules\@apostrophecms\video-widget\ui\src\index.js' in 'D:\Workspace\Apox\apos-esse\apos-build\default'
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".js"]' instead of '["*",".js"]'?

ERROR in ./apos-build/default/src-import.js 24:0-59
Module not found: Error: Can't resolve 'modules\asset\ui\src\index.js' in 'D:\Workspace\Apox\apos-esse\apos-build\default'
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".js"]' instead of '["*",".js"]'?

ERROR in ./apos-build/default/src-import.js 28:0-117
Module not found: Error: Can't resolve 'node_modules\apostrophe\modules\@apostrophecms\image-widget\ui\src\index.scss' in 'D:\Workspace\Apox\apos-esse\apos-build\default'
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".js"]' instead of '["*",".js"]'?

ERROR in ./apos-build/default/src-import.js 31:0-68
Module not found: Error: Can't resolve 'modules\asset\ui\src\index.scss' in 'D:\Workspace\Apox\apos-esse\apos-build\default'
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".js"]' instead of '["*",".js"]'?

6 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.93.0 compiled with 6 errors in 175 ms

To Reproduce

Step by step instructions to reproduce the behavior:

  1. Make a new install with essential starter kit
  2. Start the server

Expected behavior

Server started

Describe the bug

Errors

Details

Version of Node.js:
PLEASE NOTE: Only stable LTS versions (10.x and 12.x) are fully supported but we will do our best with newer versions.
v18.15.0
Server Operating System:
The server (which might be your dev laptop) on which Apostrophe is running. Linux? MacOS X? Windows? Is Docker involved?
Édition Windows 11 Professionnel Version 21H2 Installé le ‎08-‎09-‎22 Build du système d’exploitation 22000.2538 Expérience Pack d’expérience de fonctionnalités Windows 1000.22001.1000.0
Additional context:

Add any other context about the problem here. If the problem is specific to a browser, OS or mobile device, specify which.

Screenshots
If applicable, add screenshots to help explain your problem.

@ezzle ezzle added the bug label Jul 22, 2024
@BoDonkey
Copy link
Contributor

Can you confirm whether you are using WSL or another Linux virtualization method? If not, can you retry the setup and install from WSL, please. https://docs.apostrophecms.org/guide/development-setup.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants