-
Notifications
You must be signed in to change notification settings - Fork 15
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
[bug]: Webpack / Typescript build issues #3784
Comments
Hey, thanks for opening the issue :) The type issue seems to be related to the fact that your backend build resolves to our browser build, rather than the node one. Do you have a minimal reproduction of your stack, or more information about your environment? Also, can you confirm your un on algoliasearch 5.5.2? edit: I just saw nestjs |
Yes we are using NestJS and i ran
and on the
Is there something special i need to do resolve this to node build? |
I think you need to hint webpack directly, with something like https://webpack.js.org/configuration/resolve/#resolveexportsfields I don't get why nest resolves to the browser build, we default everything to |
Hey, I'm also seeing this issue when running I'm using My tsconfig is:
I'm seeing the same errors about not being able to find
|
Updating the tsconfig so that the |
Hey @bennettl could you let me know if this error still exist in 5.9.1? I believe the recent changes of the published typescript files might've fixed it. Good point @RLMarkStrudwick I think that's a leftover of a copy, not needed for the node playground, I'll take a look |
Description
webpack is preventing the app from compiling due to type issues with the
algoliasearch
packageLanguage
JavaScript
Client
All
Steps to reproduce
I have the following relevant package dependencies
And executed my backend with
nest start --watch
and contain the follow errors (on the relvant log output)Here is my TS Config
Relevant log output
The text was updated successfully, but these errors were encountered: