Skip to content

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

Open
@mhsdesign

Description

@mhsdesign

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions