Uros Miric

Results 7 comments of Uros Miric

It's not solving it, also tried this one: ``` const nextConfig = { experimental: { serverActions: true, }, webpack: (config, { isServer }) => { if (!isServer) { config.resolve.fullySpecified =...

Bug is coming because of this part: ``` experimental: { serverActions: true, }, ``` When `serverActions` is removed, it's compiling fine.

> It happened to me on NextJS 14.1 where the server actions should be stable... It was caused by importing a _type_ for something totally unrelated to langchain. I gave...

> Not the solution you want but... ![langchain](https://private-user-images.githubusercontent.com/66887635/283623633-fdd6c129-61c6-4345-9b82-8fd6decfa7aa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDE0NzI1ODMsIm5iZiI6MTcwMTQ3MjI4MywicGF0aCI6Ii82Njg4NzYzNS8yODM2MjM2MzMtZmRkNmMxMjktNjFjNi00MzQ1LTliODItOGZkNmRlY2ZhN2FhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjAxVDIzMTEyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1OTZjYWUwNTI1Y2IwODVjNTI4YjY2N2I0YjcwODUxMjMxMjY0MmZjMGJlODNiNWJmYTM5YmZjNzRhMTQ4NjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.AWWwi9saLoiL-0Xaeoifk4ZsRrkZLEpLvsNhkos4s2Y) ![image](https://private-user-images.githubusercontent.com/66887635/283623668-047aefcc-2f32-4469-9632-afc66f1e1197.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDE0NzI1ODMsIm5iZiI6MTcwMTQ3MjI4MywicGF0aCI6Ii82Njg4NzYzNS8yODM2MjM2NjgtMDQ3YWVmY2MtMmYzMi00NDY5LTk2MzItYWZjNjZmMWUxMTk3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjAxVDIzMTEyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiMzg3NzhkZWI2ZWMxNmI3ZWQzN2M5ZWQ0YTAxNzNhNjJkNGU2NzEyNDcwYWJlN2UxYmI1OWQ0ZWYyYzdjNzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UpDg8cbrlZjZ9VNS0ggC6NHOSx_rc1iafAVmgoHUeEU) Just tried it out! Working!

Hi! Like @hnykda said it's still happening on [#5235](https://github.com/langchain-ai/langchainjs/issues/5235) That's the same bug happening on latest Next.js version. We can leave one issue on GitHub until it's fixed.

> It's very similar to what I saw in the past with #2335 . > > We have production building fine, but now due to totally unrelated changes (really just...

> You _just_ have to hurt yourself a bit more by figuring out where from you could import those two `getEncoding` and `Serializable` and do the same shenanigas Here is...