Skip to content

Building feature-server image with UI broken #5340

@tchughesiv

Description

@tchughesiv

Expected Behavior

make build-feature-server-dev should succeed without issue.

Current Behavior

Broken since #5337
Operator e2e tests action is broken, as well as dev image builds/pushes to quay.io/feastdev-ci/feature-server

> example-feast-ui@0.1.0 build
> react-scripts build

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Failed to compile.

Module not found: Error: Can't resolve 'react/jsx-runtime' in '/opt/app-root/src/sdk/python/feast/ui/node_modules/react-markdown/lib'
Did you mean 'jsx-runtime.js'?
BREAKING CHANGE: The request 'react/jsx-runtime' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

Steps to reproduce

$ git checkout 203e8889d2d75080680491905f05fe200ba38f21
$ make build-feature-server-dev

Specifications

  • Version: master branch
  • Platform: feature-server dev image
  • Subsystem: UI

Possible Solution

Upgrade to react ^18

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