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

npm install fails with npm ERR! notarget No matching version found for decap-cms-widget-date@^2.5.7. #788

Open
pokho opened this issue Mar 10, 2024 · 6 comments

Comments

@pokho
Copy link

pokho commented Mar 10, 2024

- Do you want to request a feature or report a bug?
bug

- What is the current behavior?
I have just cloned this repo and rant the command npm install as instructed, but it failed and I'm a total noob at npm, couldnt find anything on stackexchange about it.

- If the current behavior is a bug, please provide the steps to reproduce.

  1. Clone repo
  2. Run npm install
  3. Observe npm ERR! notarget No matching version found for decap-cms-widget-date@^2.5.7.

Observed on

$ myenv

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

node --version
v20.11.0

npm --version
10.2.4

Logs

$ git clone --filter=blob:none https://github.com/decaporg/one-click-hugo-cms .
Cloning into '.'...
remote: Enumerating objects: 2119, done.
remote: Counting objects: 100% (139/139), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 2119 (delta 62), reused 96 (delta 36), pack-reused 1980
Receiving objects: 100% (2119/2119), 303.09 KiB | 62.00 KiB/s, done.
Resolving deltas: 100% (1043/1043), done.
remote: Enumerating objects: 170, done.
remote: Counting objects: 100% (110/110), done.
remote: Compressing objects: 100% (107/107), done.
remote: Total 170 (delta 3), reused 22 (delta 3), pack-reused 60
Receiving objects: 100% (170/170), 2.89 MiB | 404.00 KiB/s, done.
Resolving deltas: 100% (3/3), done.
Updating files: 100% (173/173), done.
$ ls -al
total 640
drwxrwxr-x 8 pokho pokho   4096 Mar 10 20:48 .
drwxrwxr-x 5 pokho pokho   4096 Mar 10 20:31 ..
-rw-rw-r-- 1 pokho pokho    189 Mar 10 20:48 .babelrc
drwxrwxr-x 2 pokho pokho   4096 Mar 10 20:48 .dependabot
-rw-rw-r-- 1 pokho pokho   2246 Mar 10 20:48 .eslintrc.yml
drwxrwxr-x 8 pokho pokho   4096 Mar 10 20:48 .git
drwxrwxr-x 2 pokho pokho   4096 Mar 10 20:48 .github
-rw-rw-r-- 1 pokho pokho    135 Mar 10 20:48 .gitignore
-rw-rw-r-- 1 pokho pokho      3 Mar 10 20:48 .nvmrc
-rw-rw-r-- 1 pokho pokho   3225 Mar 10 20:48 CODE_OF_CONDUCT.md
-rw-rw-r-- 1 pokho pokho    925 Mar 10 20:48 CONTRIBUTING.md
-rw-rw-r-- 1 pokho pokho   1084 Mar 10 20:48 LICENSE
-rw-rw-r-- 1 pokho pokho   2534 Mar 10 20:48 README.md
drwxrwxr-x 5 pokho pokho   4096 Mar 10 20:48 cypress
-rw-rw-r-- 1 pokho pokho    180 Mar 10 20:48 cypress.config.js
-rw-rw-r-- 1 pokho pokho    322 Mar 10 20:48 netlify.toml
-rw-rw-r-- 1 pokho pokho   2572 Mar 10 20:48 package.json
-rw-rw-r-- 1 pokho pokho    193 Mar 10 20:48 postcss.config.js
-rw-rw-r-- 1 pokho pokho     72 Mar 10 20:48 renovate.json
drwxrwxr-x 7 pokho pokho   4096 Mar 10 20:48 site
drwxrwxr-x 5 pokho pokho   4096 Mar 10 20:48 src
-rw-rw-r-- 1 pokho pokho   1813 Mar 10 20:48 webpack.common.js
-rw-rw-r-- 1 pokho pokho    904 Mar 10 20:48 webpack.dev.js
-rw-rw-r-- 1 pokho pokho    865 Mar 10 20:48 webpack.prod.js
-rw-rw-r-- 1 pokho pokho 556221 Mar 10 20:48 yarn.lock
$ npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-widget-date@undefined
npm WARN node_modules/decap-cms-widget-date
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-widget-date@"^2.5.7" from [email protected]
npm WARN node_modules/decap-cms-widget-datetime
npm WARN   decap-cms-widget-datetime@"^3.0.0" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-util@undefined
npm WARN node_modules/decap-cms-lib-util
npm WARN   peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-backend-bitbucket@"^2.12.8" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-bitbucket@"^2.12.8" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-backend-github@undefined
npm WARN node_modules/decap-cms-backend-github
npm WARN   peer decap-cms-backend-github@"^2.11.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-github@"^2.11.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-backend-gitlab@undefined
npm WARN node_modules/decap-cms-backend-gitlab
npm WARN   peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-backend-github@"^2.11.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-github@"^2.11.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-backend-gitlab@undefined
npm WARN node_modules/decap-cms-backend-gitlab
npm WARN   peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-auth@undefined
npm WARN node_modules/decap-cms-lib-auth
npm WARN   peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-util@undefined
npm WARN node_modules/decap-cms-lib-util
npm WARN   peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-ui-default
npm WARN   peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-auth@undefined
npm WARN node_modules/decap-cms-lib-auth
npm WARN   peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-util@undefined
npm WARN node_modules/decap-cms-lib-util
npm WARN   peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-ui-default
npm WARN   peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-util@undefined
npm WARN node_modules/decap-cms-lib-util
npm WARN   peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-ui-default
npm WARN   peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-ui-default
npm WARN   peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-ui-default
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-backend-azure
npm WARN   decap-cms-backend-azure@"^3.0.0" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-editor-component-image@undefined
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-editor-component-image
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-editor-component-image@"^2.6.7" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-core
npm WARN   decap-cms-core@"^3.1.1" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-widgets@"^1.6.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-core
npm WARN   decap-cms-core@"^3.1.1" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-widgets@"^1.6.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-core
npm WARN   decap-cms-core@"^3.1.1" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-widget-file@"^2.9.2" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-widget-file@"^2.9.2" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-ui-default
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-widget-image
npm WARN   decap-cms-widget-image@"^3.0.0" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-widget-object@"^2.6.2" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-widget-object@"^2.6.2" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-ui-default
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-widget-list
npm WARN   decap-cms-widget-list@"^3.0.0" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/slate
npm WARN   slate@"^0.91.1" from [email protected]
npm WARN   node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN     decap-cms-widget-markdown@"^3.0.0" from [email protected]
npm WARN     node_modules/decap-cms-app
npm WARN   3 more (slate-history, slate-react, slate-soft-break)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer slate@">=0.32.0 <0.50.0" from [email protected]
npm WARN node_modules/slate-base64-serializer
npm WARN   slate-base64-serializer@"^0.2.107" from [email protected]
npm WARN   node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/slate
npm WARN   peer slate@">=0.32.0 <0.50.0" from [email protected]
npm WARN   node_modules/slate-base64-serializer
npm WARN     slate-base64-serializer@"^0.2.107" from [email protected]
npm WARN     node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/slate
npm WARN   slate@"^0.91.1" from [email protected]
npm WARN   node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN     decap-cms-widget-markdown@"^3.0.0" from [email protected]
npm WARN     node_modules/decap-cms-app
npm WARN   3 more (slate-history, slate-react, slate-soft-break)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer slate@">=0.46.0 <0.50.0" from [email protected]
npm WARN node_modules/slate-plain-serializer
npm WARN   slate-plain-serializer@"^0.7.1" from [email protected]
npm WARN   node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/slate
npm WARN   peer slate@">=0.46.0 <0.50.0" from [email protected]
npm WARN   node_modules/slate-plain-serializer
npm WARN     slate-plain-serializer@"^0.7.1" from [email protected]
npm WARN     node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm ERR! code ETARGET
npm ERR! notarget No matching version found for decap-cms-widget-date@^2.5.7.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: /home/pokho/.npm/_logs/2024-03-10T19_48_26_866Z-debug-0.log
$ npm update
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.2.0" from [email protected]
npm ERR! node_modules/decap-cms-app
npm ERR!   decap-cms-app@"^3.0.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /home/pokho/.npm/_logs/2024-03-10T20_03_30_562Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/pokho/.npm/_logs/2024-03-10T20_03_30_562Z-debug-0.log

@pokho
Copy link
Author

pokho commented Mar 10, 2024

pokho@x1c3:~$ tail /home/pokho/.npm/_logs/2024-03-10T*
==> /home/pokho/.npm/_logs/2024-03-10T19_39_46_208Z-debug-0.log <==
64 error syscall open
65 error path /home/pokho/dev/okdrafts/decap-hugo/package.json
66 error errno -2
67 error enoent ENOENT: no such file or directory, open '/home/pokho/dev/okdrafts/decap-hugo/package.json'
68 error enoent This is related to npm not being able to find a file.
68 error enoent
69 verbose exit -2
70 timing npm Completed in 595ms
71 verbose code -2
72 error A complete log of this run can be found in: /home/pokho/.npm/_logs/2024-03-10T19_39_46_208Z-debug-0.log

==> /home/pokho/.npm/_logs/2024-03-10T20_03_30_562Z-eresolve-report.txt <==
  react@"^17.0.2" from the root project

Could not resolve dependency:
peer react@"^18.2.0" from [email protected]
node_modules/decap-cms-app
  decap-cms-app@"^3.0.2" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

==> /home/pokho/.npm/_logs/2024-03-10T20_20_01_617Z-debug-0.log <==
4194 timing build:deps Completed in 45ms
4195 timing build Completed in 46ms
4196 timing reify:build Completed in 47ms
4197 timing reify:trash Completed in 0ms
4198 timing reify:save Completed in 233ms
4199 timing reify Completed in 281742ms
4200 timing command:exec Completed in 294272ms
4201 verbose exit 1
4202 timing npm Completed in 294519ms
4203 verbose code 1

==> /home/pokho/.npm/_logs/2024-03-10T20_34_33_530Z-debug-0.log <==
24 timing npm:load:display Completed in 1ms
25 verbose logfile logs-max:10 dir:/home/pokho/.npm/_logs/2024-03-10T20_34_33_530Z-
26 verbose logfile /home/pokho/.npm/_logs/2024-03-10T20_34_33_530Z-debug-0.log
27 timing npm:load:logFile Completed in 10ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 57ms
31 verbose exit 0
32 timing npm Completed in 64ms
33 info ok

@martinjagodic
Copy link
Member

@pokho which Decap version are you using? Could to switch to decap 3?

@pokho
Copy link
Author

pokho commented Mar 11, 2024

@pokho which Decap version are you using? Could to switch to decap 3?

I'm not 100% sure as this is my first time working with Decap (or any of this modern jamstack webstuff), but from the log I think it is version 3.0.0. I have not manually attempted to install Decap on my system prior to cloning this repo - I assumed that Decap would be installed as part of the npm install command...

I have retried the scenario again just now. It seems there's only a problem when using npm, if I use yarn then I can build successfully on my local machine...

pokho@x1c3:~/dev$ gh repo clone decaporg/one-click-hugo-cms
Cloning into 'one-click-hugo-cms'...
remote: Enumerating objects: 3573, done.
remote: Counting objects: 100% (202/202), done.
remote: Compressing objects: 100% (131/131), done.
remote: Total 3573 (delta 93), reused 143 (delta 58), pack-reused 3371
Receiving objects: 100% (3573/3573), 49.85 MiB | 5.65 MiB/s, done.
Resolving deltas: 100% (2128/2128), done.
pokho@x1c3:~/dev$ cd one-click-hugo-cms/
pokho@x1c3:~/dev/one-click-hugo-cms$ ls
CODE_OF_CONDUCT.md  CONTRIBUTING.md  LICENSE  README.md  cypress  cypress.config.js  netlify.toml  package.json  postcss.config.js  renovate.json  site  src  webpack.common.js  webpack.dev.js  webpack.prod.js  yarn.lock
pokho@x1c3:~/dev/one-click-hugo-cms$ npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-widget-date@undefined
npm WARN node_modules/decap-cms-widget-date
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-widget-date@"^2.5.7" from [email protected]
npm WARN node_modules/decap-cms-widget-datetime
npm WARN   decap-cms-widget-datetime@"^3.0.0" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-util@undefined
npm WARN node_modules/decap-cms-lib-util
npm WARN   peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-backend-bitbucket@"^2.12.8" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-bitbucket@"^2.12.8" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-backend-github@undefined
npm WARN node_modules/decap-cms-backend-github
npm WARN   peer decap-cms-backend-github@"^2.11.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-github@"^2.11.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-backend-gitlab@undefined
npm WARN node_modules/decap-cms-backend-gitlab
npm WARN   peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-backend-github@"^2.11.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-github@"^2.11.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-backend-gitlab@undefined
npm WARN node_modules/decap-cms-backend-gitlab
npm WARN   peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-auth@undefined
npm WARN node_modules/decap-cms-lib-auth
npm WARN   peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-util@undefined
npm WARN node_modules/decap-cms-lib-util
npm WARN   peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-ui-default
npm WARN   peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-backend-gitlab@"^2.9.9" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-auth@undefined
npm WARN node_modules/decap-cms-lib-auth
npm WARN   peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-util@undefined
npm WARN node_modules/decap-cms-lib-util
npm WARN   peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-ui-default
npm WARN   peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-auth@"^2.3.0" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-lib-util@undefined
npm WARN node_modules/decap-cms-lib-util
npm WARN   peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-ui-default
npm WARN   peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-util@"^2.12.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-ui-default
npm WARN   peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-ui-default
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-backend-azure
npm WARN   decap-cms-backend-azure@"^3.0.0" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-editor-component-image@undefined
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-editor-component-image
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-editor-component-image@"^2.6.7" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-core
npm WARN   decap-cms-core@"^3.1.1" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-lib-widgets@"^1.6.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-core
npm WARN   decap-cms-core@"^3.1.1" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-lib-widgets@"^1.6.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-core
npm WARN   decap-cms-core@"^3.1.1" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-widget-file@"^2.9.2" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-widget-file@"^2.9.2" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-ui-default
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-widget-image
npm WARN   decap-cms-widget-image@"^3.0.0" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer decap-cms-widget-object@"^2.6.2" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-widget-object@"^2.6.2" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: decap-cms-ui-default@undefined
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-ui-default
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer decap-cms-ui-default@"^2.12.1" from [email protected]
npm WARN node_modules/decap-cms-app/node_modules/decap-cms-widget-list
npm WARN   decap-cms-widget-list@"^3.0.0" from [email protected]
npm WARN   node_modules/decap-cms-app
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/slate
npm WARN   slate@"^0.91.1" from [email protected]
npm WARN   node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN     decap-cms-widget-markdown@"^3.0.0" from [email protected]
npm WARN     node_modules/decap-cms-app
npm WARN   3 more (slate-history, slate-react, slate-soft-break)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer slate@">=0.32.0 <0.50.0" from [email protected]
npm WARN node_modules/slate-base64-serializer
npm WARN   slate-base64-serializer@"^0.2.107" from [email protected]
npm WARN   node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/slate
npm WARN   peer slate@">=0.32.0 <0.50.0" from [email protected]
npm WARN   node_modules/slate-base64-serializer
npm WARN     slate-base64-serializer@"^0.2.107" from [email protected]
npm WARN     node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/slate
npm WARN   slate@"^0.91.1" from [email protected]
npm WARN   node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN     decap-cms-widget-markdown@"^3.0.0" from [email protected]
npm WARN     node_modules/decap-cms-app
npm WARN   3 more (slate-history, slate-react, slate-soft-break)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer slate@">=0.46.0 <0.50.0" from [email protected]
npm WARN node_modules/slate-plain-serializer
npm WARN   slate-plain-serializer@"^0.7.1" from [email protected]
npm WARN   node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/slate
npm WARN   peer slate@">=0.46.0 <0.50.0" from [email protected]
npm WARN   node_modules/slate-plain-serializer
npm WARN     slate-plain-serializer@"^0.7.1" from [email protected]
npm WARN     node_modules/decap-cms-app/node_modules/decap-cms-widget-markdown
npm ERR! code ETARGET
npm ERR! notarget No matching version found for decap-cms-widget-date@^2.5.7.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: /home/pokho/.npm/_logs/2024-03-11T17_34_21_572Z-debug-0.log
pokho@x1c3:~/dev/one-click-hugo-cms$ tail /home/pokho/.npm/_logs/2024-03-11T17_34_21_572Z-debug-0.log
6855 error notarget No matching version found for decap-cms-widget-date@^2.5.7.
6856 error notarget In most cases you or one of your dependencies are requesting
6856 error notarget a package version that doesn't exist.
6857 verbose exit 1
6858 timing npm Completed in 235382ms
6859 verbose unfinished npm timer reify 1710178461799
6860 verbose unfinished npm timer reify:loadTrees 1710178461805
6861 verbose unfinished npm timer idealTree:node_modules/decap-cms-widget-boolean 1710178640377
6862 verbose code 1
6863 error A complete log of this run can be found in: /home/pokho/.npm/_logs/2024-03-11T17_34_21_572Z-debug-0.log
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ 
pokho@x1c3:~/dev/one-click-hugo-cms$ yarn install
yarn install v1.22.21
warning ../../package.json: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: The engine "browsers" appears to be invalid.
[3/4] Linking dependencies...
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-auth@^2.3.0".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-util@^2.12.3".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-auth@^2.3.0".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-util@^2.12.3".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-backend-bitbucket@^2.12.8".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-backend-github@^2.11.9".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-backend-gitlab@^2.9.9".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-auth@^2.3.0".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-util@^2.12.3".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-auth@^2.3.0".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-util@^2.12.3".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-auth@^2.3.0".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-util@^2.12.3".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-util@^2.12.3".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-util@^2.12.3".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-editor-component-image@^2.6.7".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-auth@^2.3.0".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-util@^2.12.3".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-widgets@^1.6.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-widget-date@^2.5.7".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-widget-file@^2.9.2".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-widgets@^1.6.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-widget-object@^2.6.2".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-widgets@^1.6.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-lib-widgets@^1.6.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > [email protected]" has incorrect peer dependency "decap-cms-ui-default@^2.12.1".
warning "decap-cms-app > decap-cms-core > [email protected]" has unmet peer dependency "@types/react@>=16".
warning "decap-cms-app > decap-cms-widget-code > [email protected]" has incorrect peer dependency "react@>=15.5 <=16.x".
warning "decap-cms-app > decap-cms-widget-markdown > [email protected]" has incorrect peer dependency "unified@>=10.1.0".
warning "decap-cms-app > decap-cms-widget-markdown > [email protected]" has incorrect peer dependency "slate@>=0.32.0 <0.50.0".
warning "decap-cms-app > decap-cms-widget-markdown > [email protected]" has incorrect peer dependency "slate@>=0.46.0 <0.50.0".
warning "decap-cms-app > decap-cms-core > redux-notifications > [email protected]" has incorrect peer dependency "redux@^2.0.0 || ^3.0.0".
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
Done in 44.31s.
pokho@x1c3:~/dev/one-click-hugo-cms$ yarn start
yarn run v1.22.21
warning ../../package.json: No license field
$ run-p start:**
warning ../../package.json: No license field
warning ../../package.json: No license field
$ hugo -d ../dist -s site -vw
$ webpack-dev-server --config webpack.dev.js --hot
Start building sites … 
hugo v0.110.0-e32a493b7826d02763c3b79623952e625402b168 linux/amd64 BuildDate=2023-01-17T12:16:09Z VendorInfo=gohugoio
INFO 2024/03/11 18:39:57 syncing static files to /

                   | EN  
-------------------+-----
  Pages            |  9  
  Paginator pages  |  0  
  Non-page files   |  2  
  Static files     | 36  
  Processed images |  0  
  Aliases          |  1  
  Sitemaps         |  1  
  Cleaned          |  0  

Watching for changes in /home/pokho/dev/one-click-hugo-cms/site/{assets,content,data,layouts,static}
Press Ctrl+C to stop
Watching for config changes in site/hugo.toml
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:3000/
<i> [webpack-dev-server] On Your Network (IPv4): http://192.168.1.196:3000/
<i> [webpack-dev-server] Content not from webpack is served from '/home/pokho/dev/one-click-hugo-cms/dist' directory
<i> [webpack-dev-server] 404s will fallback to '/index.html'
<i> [webpack-dev-middleware] wait until bundle finished: /
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
INFO 2024/03/11 18:40:07 Received System Events: [CREATE        "/home/pokho/dev/one-click-hugo-cms/site/data/webpack.json" WRITE         "/home/pokho/dev/one-click-hugo-cms/site/data/webpack.json"]

Change detected, rebuilding site.
2024-03-11 18:40:07.586 +0100
Data changed WRITE         "/home/pokho/dev/one-click-hugo-cms/site/data/webpack.json"
Total in 5 ms
assets by path *.js 6.5 MiB
  asset cms.js 6.21 MiB [emitted] (name: cms)
  asset main.js 300 KiB [emitted] (name: main)
asset main.css 114 KiB [emitted] (name: main)
asset admin/index.html 434 bytes [emitted]
asset fonts/.keep 0 bytes [emitted] [from: src/fonts/.keep] [copied]
Entrypoint main 414 KiB = main.css 114 KiB main.js 300 KiB
Entrypoint cms 6.21 MiB = cms.js
runtime modules 72.3 KiB 38 modules
orphan modules 115 KiB [orphan] 1 module
modules by path ./node_modules/ 5.7 MiB 83 modules
modules by path ./src/ 162 KiB (javascript) 113 KiB (css/mini-extract)
  modules by path ./src/js/ 43.2 KiB 8 modules
  modules by path ./src/css/*.scss 118 KiB (javascript) 113 KiB (css/mini-extract)
    ./src/css/main.scss 2.86 KiB [built] [code generated]
    + 4 modules
  ./src/index.js 399 bytes [built] [code generated]
asset modules 5.46 KiB
  data:image/png;base64,iVBORw0KGgoAAAAN.. 1.28 KiB [built] [code generated] [build time executed]
  data:image/png;base64,iVBORw0KGgoAAAAN.. 1.33 KiB [built] [code generated] [build time executed]
  data:image/jpeg;base64,/9j/4QAYRXhpZgAA.. 1.55 KiB [built] [code generated] [build time executed]
  data:image/png;base64,iVBORw0KGgoAAAAN.. 1.3 KiB [built] [code generated] [build time executed]
webpack 5.88.2 compiled successfully in 9352 ms



@pokho
Copy link
Author

pokho commented Mar 11, 2024

Because I can now get it working with yarn install I'm basically satisfied with closing this issue again, but if you want me to help debug further why npm install fails just let me know.

@martinjagodic
Copy link
Member

Sorry, I missed that you are trying to clone this repo. Are you trying to contribute? We migrated from yarn to npm recently, so it's possible that we missed an edge case. If you find the cause for npm error we would appreciate that

@benjaminh
Copy link

For the record, I can reproduce this exact same issue with npm 16.20.2 and 18.20.1
Unfortunately, I'm not experienced enough with npm to debug the situation, but the decap-cms-widget-date npm package does not provide 2.5.7 version (see. https://www.npmjs.com/package/decap-cms-widget-date?activeTab=versions)

How yarn succeeds is resolving the conflicting dependency tree is a mystery to me

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

No branches or pull requests

3 participants