Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracker-assist fails to build on linux (ubuntu 18.04 using webpack) #166

Closed
rubinsh opened this issue Aug 25, 2021 · 3 comments · Fixed by #167
Closed

tracker-assist fails to build on linux (ubuntu 18.04 using webpack) #166

rubinsh opened this issue Aug 25, 2021 · 3 comments · Fixed by #167
Assignees

Comments

@rubinsh
Copy link
Contributor

rubinsh commented Aug 25, 2021

when requiring @openreplay/tracker-assist I get the following error on webpack buid:

    ERROR in ./node_modules/@openreplay/tracker-assist/cjs/index.js
    Module not found: Error: Can't resolve './Confirm' in '/PositiveSimple/node_modules/@openreplay/tracker-assist/cjs'
     @ ./node_modules/@openreplay/tracker-assist/cjs/index.js 6:18-38
     @ ./src/index.js

The above error can be resolved by changing

import Confirm from './Confirm';

to:

import Confirm from './confirm';

(confirm instead of Confirm)

Update:
after forking the source code - I saw that there are two identical files: Confirm.ts and confirm.ts - I think we should just remove confirm.ts and retain Confirm.ts

@rubinsh
Copy link
Contributor Author

rubinsh commented Aug 26, 2021

Thanks @shekarsiri .
Now that the issue is resolved - I think we should publish a minor update for the @openreplay/tracker-assist npm package.
Please let me know if there is anything I can do to help with this.

@shekarsiri
Copy link
Contributor

Hi @rubinsh, we have published the latest tracker-assist

@rubinsh
Copy link
Contributor Author

rubinsh commented Aug 26, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants