Skip to content

Commit 0587b36

Browse files
authored
chore: Add troubleshooting section to readme (#156)
1 parent 360522f commit 0587b36

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ Refer to our [SDK documentation](https://docs.geteppo.com/sdks/client-sdks/javas
1212

1313
To set up the package for local development, run `make prepare` after cloning the repository
1414

15+
## Troubleshooting
16+
17+
* Jest encountered an unexpected token
18+
```
19+
Details:
20+
21+
/.../node_modules/@eppo/js-client-sdk-common/node_modules/uuid/dist/esm-browser/index.js:1
22+
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export { default as v1 } from './v1.js';
23+
^^^^^^
24+
SyntaxError: Unexpected token 'export'
25+
```
26+
Add the following line to your `jest.config.js` file:
27+
`transformIgnorePatterns: ['<rootDir>/node_modules/(?!(@eppo|uuid)/)'],`
28+
1529
### Installing local package
1630

1731
It may be useful to install the local version of this package as you develop the client SDK or Node SDK.

0 commit comments

Comments
 (0)