question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WARN [SSR] Error transforming on windows

See original GitHub issue

Environment

  • Operating System: Windows_NT
  • Node Version: v16.11.0
  • Nuxt Version: 3.0.0-27257216.f5aea9f
  • Package Manager: npm
  • Bundler: Vite
  • User Config: vite, build
  • Runtime Modules: -
  • Build Modules: -

Describe the bug

WARN [SSR] Error transforming ./node_modules/hookable/dist/index.mjs: Error: Missing “./dist/index.mjs” export in “hookable” package

WARN [SSR] Error transforming ./node_modules/vue/server-renderer/index.js: Error: Missing “./server-renderer/index.js” export in “vue” package

WARN [SSR] Error transforming ./node_modules/murmurhash-es/dist/index.mjs: Error: Missing “./dist/index.mjs” export in “murmurhash-es” package

WARN [SSR] Error transforming ./node_modules/ohmyfetch/dist/index.mjs: Error: Missing “./dist/index.mjs” export in “ohmyfetch” package

Reproduction

fresh install.

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
m0ukacommented, Oct 29, 2021

Same issue here, Windows 10

1reaction
lumavidacommented, Oct 31, 2021

same problem on Windows 10. But when i set vite: false in nuxt config it works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

“window is not defined” in Nuxt.js
The Window is not defined error results from nodejs server side scripts not recognising the window object which is native to browsers only....
Read more >
Troubleshooting Common Errors
If you encounter a webpack error that says Generating SSR bundle failed after installing a plugin and trying to run gatsby develop or...
Read more >
Transport Layer Security (TLS) connections might fail or ...
Transport Layer Security (TLS) connections might fail or timeout when connecting or attempting a resumption.
Read more >
A Simple Explanation of SSL Certificate Errors & How to Fix ...
1. SSL Certificate Not Trusted Error. This error indicates that the SSL certificate is signed or approved by a company that the browser...
Read more >
How to solve "window is not defined" errors in React and ...
Tagged with javascript, nextjs, errors, debugging. ... components/Scroll"); }, { ssr: false } ); export default function Home() { return ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found