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

sh: 1: neos-react-scripts: not found #3529

Open
mhsdesign opened this issue Jun 17, 2023 · 2 comments
Open

sh: 1: neos-react-scripts: not found #3529

mhsdesign opened this issue Jun 17, 2023 · 2 comments

Comments

@mhsdesign
Copy link
Member

mhsdesign commented Jun 17, 2023

This is not a real issue but rather a note for people updating their plugins to neos 8.3 without having read the release notes ^^ (that would normally include me to, but this time i wrote them 😂 )

Migrating old (complex) plugins

neos-react-scripts build
/bin/sh: 1: neos-react-scripts: not found

in case you stumbled upon this error you should read up on:

the step Updating Neos UI plugin build dependency

https://docs.neos.io/api/upgrade-instructions/8/upgrade-instructions-8-2-8-3#update-instructions

With Neos 8.3 we moved the logic of @neos-project/neos-ui-extensibility to @neos-project/neos-ui-extensibility-webpack-adapter, so you will need to require this package instead.

Recommendation for new packages / Or old simple plugins

it is recommended to use the new ESBuild plugin api, as featured in the 8.3 release notes https://www.neos.io/blog/neos-8-3-release.html (Fully configurable plugin build stack with esbuild!)

See the documentation on how to create plugins with esbuild: https://github.com/neos/neos-ui/tree/8.3/packages/neos-ui-extensibility#opinionated-usage-with-esbuild--technical-neos-ui-plugin-setup

@mhsdesign mhsdesign pinned this issue Jun 17, 2023
@dlubitz dlubitz unpinned this issue Jul 10, 2023
@dlubitz dlubitz pinned this issue Jul 10, 2023
@NicoleNitschke
Copy link
Collaborator

NicoleNitschke commented Nov 21, 2023

@mhsdesign Thanks for this hint! :D Unfortunately it doesn't work for me. I did step 1, step 2 was not necessary. When I run yarn now, the console shows me the following error:

$ yarn
yarn install v1.22.19
[1/4] Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/neos-project%2fneos-ui-extensibility-webpack-adapter: Request \"https://registry.yarnpkg.com/neos-project%2fneos-ui-extensibility-webpack-adapter\" returned a 405".

@NicoleNitschke
Copy link
Collaborator

NicoleNitschke commented Nov 21, 2023

nvm I found it by myself, it's too early in the morning. :D I simply copied the name from the documentation, but there is an '@' before 'neos-project' missing. Not it works fine. Thank you! :)

PS: I already added the missing '@' in the documentation, it has just to be reviewed and published.

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

2 participants