Skip to content

<title>After latest update facing issue with dependency #4524

Open
@hetashah-external

Description

@hetashah-external

Prerequisites

What theme are you using?

core

Version

5.x

Current Behavior

In my package.json i am using this
"@rjsf/bootstrap-4": "^5.18.1", "@rjsf/core": "^5.18.1", "@rjsf/material-ui": "^5.18.1", "@rjsf/utils": "^5.18.1", "@rjsf/validator-ajv8": "^5.18.1",

So after latest update when we try to build the application i was facing issue with babel-loader because of the file changes in
@rjsf/core/lib/components/fields/MultiSchemaField.js at some where

onOptionChange = option => { | const { | selectedOption,

Actual error :
Creating an optimized production build... Failed to compile. ./node_modules/@rjsf/core/lib/components/fields/MultiSchemaField.js 101:17 Module parse failed: Unexpected token (101:17) File was processed with these loaders: * ./node_modules/babel-loader/lib/index.js You may need an additional loader to handle the result of these loaders. | * @param option - The new option value being selected | */ > onOptionChange = option => { | const { | selectedOption,

After this error i tried with core version "5.24.3" and now it is working fine but not with "5.24.4" "5.24.7"

Expected Behavior

Currently i am using fixed version "5.24.3" buti want it to download latest version whenever we are running npm install in to the application

Steps To Reproduce

No response

Environment

- OS: Windows
- Node: 18.8.0
- npm:9.8.1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions