-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Description
Shiny version: 0.6.1.1
Python version: 3.11.6
Node version: v21.2.0
npm version: 10.2.3
To reproduce:
- Run
shiny create
- Select
Custom Javascript Component -> React component
. - Name the directory
react-component
npm install
to install all node packagesnpm run build
See the error below.
react-component $ npm run build
> [email protected] build
> esbuild srcts/index.tsx --bundle --outfile=react_component/distjs/index.js
✘ [ERROR] Could not resolve "@shiny-helpers/react"
srcts/index.tsx:4:48:
4 │ import { makeReactInput, makeReactOutput } from "@shiny-helpers/react";
╵ ~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@shiny-helpers/react" as external to exclude it from the bundle, which will
remove this error and leave the unresolved path in the bundle.
1 error
Metadata
Metadata
Assignees
Labels
No labels