-
Notifications
You must be signed in to change notification settings - Fork 21
Unable to resolve module #23
Comments
@jaysoo this seems to working fine in Linux. Not sure if it has something to do with the platform. For my part I am running nx run-android rntsrx_nx --port=9000 [port 8081 is blocked in my system] in my windows machine and it's giving me the error |
@jaysoo I have just tried with other libraries like @react-navigation/stack or @react-navigation/native. Getting same error. It just seems to be a generic issue I am facing. Not related to rxjs/Observable |
@mtapdilli Very strange. I'm going to have to test it out on a Windows machine, but it does work with Linux and Mac.. |
This should be fixed in |
error: Error: Unable to resolve module
../Observable
fromnode_modules\rxjs\internal\observable\ConnectableObservable.js
: ../Observable could not be found within the project or in these directories:.
........
I had setup two sample repo for you try out Jack :
without Nx : https://github.com/mtapdilli/rntsrx
with Nx : https://github.com/mtapdilli/rntsrx_nx
It's a basic app and I have just added the 'rxjs' library and added below code in App.tsx file . When the app runs/compiles fine, which it does in the repo without Nx, it just prints 'Value is hi' to console. But it is giving the error I have mentioned above. if I comment out these lines then it works fine. Please have a look.
Env :
Windows 10
Nx --version : 10.4.4
"@nrwl/react-native": "^10.4.6"
The text was updated successfully, but these errors were encountered: