About 454,000 results
Open links in new tab
  1. Fix for require is not defined : r/node - Reddit

    May 15, 2022 · Guys be easy on OP, there is no need to downvote the post, it May seem easy for you to distinguish between a browser and node environments but is confusing for people that just are just …

  2. ReferenceError: exports is not defined in ES module scope - Reddit

    Oct 20, 2022 · ^ ReferenceError: exports is not defined in ES module scope As I understand the node runtime environment doesn't understand exports keyword and that is what is causing the problem. I …

  3. "Require is not defined" in React.js : r/react - Reddit

    Dec 19, 2022 · Require is for javascript not for binaries like an image. You either need to place the image in your /public directory and reference the relative url or you should upload it to an image store …

  4. require is not defined : r/sveltejs - Reddit

    Jun 14, 2022 · Are you using require in your server side code? If you aren't, the library you are using might not be compatible with esm. I don't know much about objection and knex.

  5. [Help] ReferenceError: require is not defined : r/node - Reddit

    Jun 19, 2020 · Curly braces does not mean you're renaming unless you have the reserved keyword as and a new name. Without it, you're importing the named function that the module exports. export …

  6. ReferenceError - require is not defined : r/JoiPlay - Reddit

    Sep 20, 2022 · It is currently released on play store. but not on app store since Apple dosen't support emulators. post anything you want that has something to do with JoiPlay here.

  7. ReferenceError: File is not defined on Vercel deploy : r/nextjs

    Dec 6, 2023 · Hi I'm trying to publish an app to vercel, but I get the following error: "ReferenceError: File is not defined". ReferenceError: File is not defined…

  8. Process is not defined error : r/webpack - Reddit

    Feb 25, 2024 · But it did not work, I still get the "process is not defined" error. Here is my webpack.config.js, it still compiles without error but throws the Process i not defined in the browser...

  9. Vite/vue3 require replacement : r/vuejs - Reddit

    Mar 9, 2021 · Vite/vue3 require replacement Hi im trying to switch from vue cli to vite. One of the modules im importing requires vue in window.vue. In Vue3 (with vue-cli) i could provide this with: …

  10. "ReferenceError: require is not defined" : r/node - Reddit

    Aug 17, 2020 · The Filesystem is not available in the browser. You can only use it in a Node.js environment. For something like this, you would normally create a HTTP server that can manage the …