box-ui-elements
box-ui-elements copied to clipboard
Testing npm package locally
Note: if your issue involves previewing files, please report the issue here.
Environment: node 14
- Elements version:
- Desktop
- OS :Windows 11
- Browser chrome
- Version 104.0.5112.81 (Official Build) (64-bit)
Steps to reproduce the problem: yarn start:npm yarn link
than in the parent project yarn link box-ui-elements yarn start
What went wrong? (Screenshots, console logs, or HAR files can be helpful here)
Additional context It works just fine when I run/debug using the examples page but I am unable to link the package locally.
We think its a webpack issue where it will attempt to transpile node_modules/box-ui-element
while linked which would throw that exception. You need to exclude
node_modules/box-ui-elements
from webpack (doc)
I have added node_modules/box-ui-elements from webpack but I am still getting the same error. Repo