Module not found: Can't resolve 'ApiClient'
Opened this issue · 0 comments
marco910 commented
I'm getting the following issue using Node v16.14.2 on Ubuntu 20.04. I didn't change anything to the code, that happened right away.
Any ideas?
Module not found: Can't resolve 'ApiClient' in '/%project_root%/node_modules/amazon-pa-api50/sdk/src'
Did you mean './ApiClient'?
Requests that should resolve in the current directory need to start with './'.
Requests that start with a name are treated as module requests and resolve within module directories (node_modules).
If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.