Closed lpsinger closed 2 years ago
Thank you for your detailed report and example. There is currently no CommonJS version of the package being built nor a main
field specified in the manifest so that's why Node's module resolution step is failing as shown by the stack trace provided. This is just an oversight on my part (I don't currently have any projects using the component without a build and bundle step) so I'll get that sorted ASAP.
I have added a CommonJS bundle to the package in c7014958699ac63ea031e2643fc350ee32931552 and this change is included in v7.0.0-beta.8 now available on NPM.
It works now. Thanks!
I cannot import react-tag-autocomplete in a barebones Remix project created from the create-remix template.
Here is my example project: https://github.com/lpsinger/remix-react-tag-autocomplete
When I run
npm run build
in the example project, I get:When I run
npm run dev
, the ReactTags example does not load, and I get this error message displayed in the browser: