Headless build relies on locale directory
See original GitHub issueDescribe the bug
After installing @converse/headless module using npm, when I try to import the module over react application using
import converse from "@converse/headless/converse-core";
I got the error that indicates
Module not found: Can’t resolve ‘…/…/locale’ in ‘C:.…\framework-poc\node_modules@converse\headless’ Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat ‘C:\hiberfil.sys’ Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat ‘C:\pagefile.sys’ Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat ‘C:\swapfile.sys’
To Reproduce Steps to reproduce the behavior: Create new react application and install @converse/headless using npx create-react-app and npm install. Expected behavior I expected to use converse object after I import it from the module.
Environment (please complete the following information): Windows 10 Node v12.18.3 Converse.js 6.0.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
You’re welcome @maqsood1ahmed 😃
Hi @jcbrand Please let us know When we can expect these fixes at npm repo as well? Thanks