Closed adamlaki closed 2 months ago
Here you go.
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: undefined,
npm warn EBADENGINE required: { node: '^21.0', npm: '^10.2', yarn: 'please-use-npm' },
npm warn EBADENGINE current: { node: 'v20.16.0', npm: '10.8.1' }
npm warn EBADENGINE }
I've got the same before when it was node 20. If this is controlled ba the .nvmrc file.
Previously
npm error Missing: @types/markdown-it@14.1.2 from lock file
npm error Missing: @types/linkify-it@5.0.0 from lock file
npm error Missing: @types/mdurl@2.0.0 from lock file
Still did nothing with fresh install and synced lock.
Try
npm cache clean
rm -rf node_modules
How I do this in the workflow file?
I mean locally.
npm i
on my computer adds
+ "node_modules/@types/linkify-it": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-5.0.0.tgz",
+ "integrity": "sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==",
+ "peer": true
+ },
+ "node_modules/@types/markdown-it": {
+ "version": "14.1.2",
+ "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-14.1.2.tgz",
+ "integrity": "sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==",
+ "peer": true,
+ "dependencies": {
+ "@types/linkify-it": "^5",
+ "@types/mdurl": "^2"
+ }
+ },
+ "node_modules/@types/mdurl": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-2.0.0.tgz",
+ "integrity": "sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==",
+ "peer": true
+ },
At local everything works fine.
@szepeviktor any idea for this Viktor: https://github.com/conedevelopment/sprucecss-site-eleventy/actions/runs/10475542665/job/29012434806 ?
I tried the mentioned method to sync the lock file but nothing. On local, it works fine. I've tried to re-run it +10 times with different modifications with no luck.