# Stencil components react library build failing while using @stencil/react-output-target@0.1.0 version

**URL:** <https://forum.ionicframework.com/t/stencil-components-react-library-build-failing-while-using-stencil-react-output-target-0-1-0-version/217188>\
**Category:** Stencil\
**Created:** [November 11, 2021, 7:44am UTC](https://forum.ionicframework.com/t/stencil-components-react-library-build-failing-while-using-stencil-react-output-target-0-1-0-version/217188 "2021-11-11T07:44:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahulrautwar](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@rahulrautwar](https://forum.ionicframework.com/u/rahulrautwar)\
**Post date:** [November 11, 2021, 7:44am UTC](https://forum.ionicframework.com/t/stencil-components-react-library-build-failing-while-using-stencil-react-output-target-0-1-0-version/217188/1 "2021-11-11T07:44:45Z")

</div>

stencil components react library build failing while using @stencil/[react-output-target@0.1.0](mailto:react-output-target@0.1.0) version, its getting succeeds when using @stencil/[react-output-target@0.0.9](mailto:react-output-target@0.0.9) version.

Getting below error message:

> @mc-dxp/[dxp-web-react@0.0.0-PLACEHOLDER](mailto:dxp-web-react@0.0.0-PLACEHOLDER) tsc C:\UI\Projects\DXP\2021\PI4\stencil POC\dxp-ui\packages\dxp-web-react  
> tsc -p .

src/react-component-lib/utils/index.tsx(23,10): **error TS2694: Namespace ‘React’ has no exported member ‘RefCallback’.**  
info Visit [yarn run | Yarn](https://yarnpkg.com/en/docs/cli/run) for documentation about this command.

lerna ERR! yarn run build stderr:  
npm ERR! code ELIFECYCLE  
npm ERR! errno 2  
npm ERR! @mc-dxp/[dxp-web-react@0.0.0-PLACEHOLDER](mailto:dxp-web-react@0.0.0-PLACEHOLDER) tsc: `tsc -p .`  
npm ERR! Exit status 2

Versions:  
“@stencil/core”: “2.10.0”,  
“@stencil/react-output-target”: “0.1.0”,
