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

[bug] Node LTS unsupported engine and incompatibilities. #165

Open
L-Triple-O opened this issue Apr 28, 2023 · 0 comments
Open

[bug] Node LTS unsupported engine and incompatibilities. #165

L-Triple-O opened this issue Apr 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@L-Triple-O
Copy link

Describe the bug
When using Node 18 LTS and installing there is an unsupported engine error that occurs.

Package version
1.1.11

To Reproduce
Using Node LTS 18.16.0,

  1. Start a new CRA project, (npx create-react-app my-app)
  2. Update the package.json file dependencies to be what is below:
"@adobe/aem-core-components-react-base": "^1.1.8",
"@adobe/aem-core-components-react-spa": "^1.2.0",
"@adobe/aem-react-editable-components": "^1.1.10",
"@adobe/aem-spa-component-mapping": "^1.1.1",
"@adobe/aem-spa-page-model-manager": "^1.3.11",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
  1. Remove node_modules and package-lock.json file/folder
  2. run npm i again
  3. notice warnings.

Expected behavior
Packages are compatible and compile correctly without unsupported engine notifications.

Screenshots
image
^ Warnings Image ^

image
^ Updated Version Image ^

Additional context
Seems you cannot upgrade the package since there are peer dependency issues when using the various adobe spa packages.
using --legacy-peer-deps may introduce unknown stability issues.

@L-Triple-O L-Triple-O added the bug Something isn't working label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant