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

Cannot find source file '../src/index.ts' #6

Closed
MasterVitte opened this issue Jul 29, 2020 · 2 comments
Closed

Cannot find source file '../src/index.ts' #6

MasterVitte opened this issue Jul 29, 2020 · 2 comments

Comments

@MasterVitte
Copy link

MasterVitte commented Jul 29, 2020

Hi! I've installed is-lite library using npm and have an error: Can't resolve '../src/index.ts'. Version 0.7.0.
Updated: I think react-joyride has the dependence problem (third screen). React-floater has same problem.

image

image

image

@gilbarbara
Copy link
Owner

hey @MasterVitte

Sorry for the late reply. It didn't show in notifications...

I've never seen this error, can you try to reproduce it in a codesandbox?

Thanks

@brionmario
Copy link

We are also experiencing this issue in our project. Will try to come up with a reproduction.

WARNING in ./node_modules/react-floater/node_modules/is-lite/lib/index.js
Module Warning (from ../../node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/index.ts': Error: Can't resolve '../src/index.ts' in '<PROJECT>/node_modules/react-floater/node_modules/is-lite/lib'
 @ ./node_modules/react-floater/es/index.js 8:0-25 217:12-26 558:47-60 741:26-40 935:10-23 959:10-23 983:10-23 1049:24-37 1057:34-47 1076:12-25 1189:29-41 1238:11-23 1391:12-25
 @ ./node_modules/react-joyride/es/index.js 13:0-36 2508:45-52

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

No branches or pull requests

3 participants