# \#node-js

**URL:** https://discourse.threejs.org/tag/node-js/325.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Headless rendering](https://discourse.threejs.org/t/headless-rendering/14401)

<div class="topic-metadata">

**Author:** [@jojal](https://discourse.threejs.org/u/jojal)\
**Replies:** 9\
**Last updated:** [December 5, 2025, 9:41pm UTC](https://discourse.threejs.org/t/headless-rendering/14401 "2025-12-05T21:41:28Z")

</div>

Hi, I am currently working on a use case where i need to make some offscreen rendering (i mean headless rendering) in a nodejs backend, with express.js to serve my offscreen rendering as an image accessible from any web…

---

## [Server-side rendering and sending data to the client as JPEG (or PNG) - with Client side interaction data](https://discourse.threejs.org/t/server-side-rendering-and-sending-data-to-the-client-as-jpeg-or-png-with-client-side-interaction-data/14512)

<div class="topic-metadata">

**Author:** [@SaadanSulehri](https://discourse.threejs.org/u/SaadanSulehri)\
**Replies:** 17\
**Last updated:** [July 24, 2025, 12:50am UTC](https://discourse.threejs.org/t/server-side-rendering-and-sending-data-to-the-client-as-jpeg-or-png-with-client-side-interaction-data/14512 "2025-07-24T00:50:11Z")

</div>

QUESTION: Hi, I am very sorry if this question already exists, but I have not been ale to find anything yet. SO, here goes, I am working on a project where I want to render a 3d scene on the server-side and then send ove…

---

## [Three with Node and Server Side Three](https://discourse.threejs.org/t/three-with-node-and-server-side-three/80220)

<div class="topic-metadata">

**Author:** [@Austin\_Guter](https://discourse.threejs.org/u/Austin_Guter)\
**Replies:** 1\
**Last updated:** [March 28, 2025, 12:31am UTC](https://discourse.threejs.org/t/three-with-node-and-server-side-three/80220 "2025-03-28T00:31:29Z")

</div>

Hobbyist web programmer here that just built a fun three.js app that does some engineering calculations for me. I mostly use three.js for the user interface and graphics. I now want to expose this code externally to o…

---

## [How to use gltfloader in nodejs](https://discourse.threejs.org/t/how-to-use-gltfloader-in-nodejs/43607)

<div class="topic-metadata">

**Author:** [@cazon](https://discourse.threejs.org/u/cazon)\
**Replies:** 11\
**Last updated:** [January 21, 2025, 9:15pm UTC](https://discourse.threejs.org/t/how-to-use-gltfloader-in-nodejs/43607 "2025-01-21T21:15:19Z")

</div>

i need to use gltfloader in nodejs,i want to get glb model and deal with the glb to get some data and output this data in nodejs，i find create mesh is ok,but loader model cannot success ,i try something but not good,Anyb…

---

## [A working example that renders a .glb file on the server side (node)](https://discourse.threejs.org/t/a-working-example-that-renders-a-glb-file-on-the-server-side-node/18072)

<div class="topic-metadata">

**Author:** [@mehran](https://discourse.threejs.org/u/mehran)\
**Replies:** 8\
**Last updated:** [October 4, 2024, 9:00am UTC](https://discourse.threejs.org/t/a-working-example-that-renders-a-glb-file-on-the-server-side-node/18072 "2024-10-04T09:00:27Z")

</div>

Hi. Newbie here. I’m trying to render my first image in a node js script (no browser). After lots of hassle, I’ve managed to eliminate all the errors. But it seems like I eliminated too much! Here’s my code: import jsd…

---

## [Threejs / Vite / Blender GLB File - Not Loading](https://discourse.threejs.org/t/threejs-vite-blender-glb-file-not-loading/67419)

<div class="topic-metadata">

**Author:** [@Connie\_Cham](https://discourse.threejs.org/u/Connie_Cham)\
**Replies:** 12\
**Last updated:** [July 2, 2024, 8:50am UTC](https://discourse.threejs.org/t/threejs-vite-blender-glb-file-not-loading/67419 "2024-07-02T08:50:23Z")

</div>

It keeps showing up as blank or a blank canvas, I set a plane for a model and only the lights and shadows from it showed, my orbit controls worked and everything - is there something the matter with my model? Here’s my …

---

## [Loading model files by setting the path as a parameter in the URL](https://discourse.threejs.org/t/loading-model-files-by-setting-the-path-as-a-parameter-in-the-url/65609)

<div class="topic-metadata">

**Author:** [@JKLEE](https://discourse.threejs.org/u/JKLEE)\
**Replies:** 0\
**Last updated:** [May 16, 2024, 4:38am UTC](https://discourse.threejs.org/t/loading-model-files-by-setting-the-path-as-a-parameter-in-the-url/65609 "2024-05-16T04:38:03Z")

</div>

\*\*\* Using THREE.js to create a 3D viewer space and loading gltf models into the viewer space via node.js express. \*\*\* Currently, when accessing the default address http://localhost:port/, it displays the HTML, app.get(…

---

## [How do I call loader function inside app.post in Node.js?](https://discourse.threejs.org/t/how-do-i-call-loader-function-inside-app-post-in-node-js/29785)

<div class="topic-metadata">

**Author:** [@godsofheaven](https://discourse.threejs.org/u/godsofheaven)\
**Replies:** 9\
**Last updated:** [May 27, 2023, 7:56pm UTC](https://discourse.threejs.org/t/how-do-i-call-loader-function-inside-app-post-in-node-js/29785 "2023-05-27T19:56:35Z")

</div>

I am trying to create a node app in which I need to calculate the volume of the stl file which is uploaded by the user. I am using express and multer to handle the file uploading process. I am using three.js to calculate…

---

## [Looking for web developer with three.js and node.js experience for a social web app](https://discourse.threejs.org/t/looking-for-web-developer-with-three-js-and-node-js-experience-for-a-social-web-app/51032)

<div class="topic-metadata">

**Author:** [@Teleport](https://discourse.threejs.org/u/Teleport)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 6:21am UTC](https://discourse.threejs.org/t/looking-for-web-developer-with-three-js-and-node-js-experience-for-a-social-web-app/51032 "2023-05-02T06:21:43Z")

</div>

We’re looking for a web developer with node.js experience, to help us build an interactive online web app for desktop and mobile, that explores new ways of connecting people. Teleport is a company that connects people i…

---

## [Three on node.js](https://discourse.threejs.org/t/three-on-node-js/25456)

<div class="topic-metadata">

**Author:** [@threejsman](https://discourse.threejs.org/u/threejsman)\
**Replies:** 7\
**Last updated:** [April 14, 2023, 1:23pm UTC](https://discourse.threejs.org/t/three-on-node-js/25456 "2023-04-14T13:23:54Z")

</div>

Hello, would someone please be so kind to point me in a good direction to a modern approach to work with node.js running three.js on it. I would like to use three on the server in every way I do in the browser. But not…

---

## [How to use GLTFLoader in node js environment ?](https://discourse.threejs.org/t/how-to-use-gltfloader-in-node-js-environment/46581)

<div class="topic-metadata">

**Author:** [@Sachin\_Warhade](https://discourse.threejs.org/u/Sachin_Warhade)\
**Replies:** 5\
**Last updated:** [January 9, 2023, 2:44pm UTC](https://discourse.threejs.org/t/how-to-use-gltfloader-in-node-js-environment/46581 "2023-01-09T14:44:24Z")

</div>

I am facing the issues while using GLTFLoader in node js environment. I want to parse the GLB file data, So I used loader.load() and loader.parse() as mention in the documents GLTFLoader. \*\* I am aware\*\* that GLTFLoader…

---

## [Using GLTFLoader on node](https://discourse.threejs.org/t/using-gltfloader-on-node/2309)

<div class="topic-metadata">

**Author:** [@ikeough](https://discourse.threejs.org/u/ikeough)\
**Replies:** 9\
**Last updated:** [November 27, 2022, 3:30am UTC](https://discourse.threejs.org/t/using-gltfloader-on-node/2309 "2022-11-27T03:30:27Z")

</div>

I would like to use the GLTFLoader to do some server side loading of models for the purpose of making thumbnail images. Towards this end, I have created a small node script which downloads zip files containing gltf model…

---

## [GLTF Exporter in Node Backend](https://discourse.threejs.org/t/gltf-exporter-in-node-backend/44748)

<div class="topic-metadata">

**Author:** [@Metadeveloper](https://discourse.threejs.org/u/Metadeveloper)\
**Replies:** 2\
**Last updated:** [November 16, 2022, 11:28am UTC](https://discourse.threejs.org/t/gltf-exporter-in-node-backend/44748 "2022-11-16T11:28:26Z")

</div>

Hello I have a create a mesh with textures in Node backend using three.js. And While exporting it using GLTFExporter but I faced this issues. error: TypeError: Cannot read properties of undefined (reading 'width') at…

---

## [Npm run build does not include three.js dependencies](https://discourse.threejs.org/t/npm-run-build-does-not-include-three-js-dependencies/42365)

<div class="topic-metadata">

**Author:** [@MC-Meesh](https://discourse.threejs.org/u/MC-Meesh)\
**Replies:** 13\
**Last updated:** [September 17, 2022, 9:37pm UTC](https://discourse.threejs.org/t/npm-run-build-does-not-include-three-js-dependencies/42365 "2022-09-17T21:37:38Z")

</div>

The full version of this question is on stack-overflow I used npm to install vite and three.js, and was able to test things locally using npm run dev. Now that I’m looking to create a static site I’m running npm run bui…

---

## [Render a still without a browser](https://discourse.threejs.org/t/render-a-still-without-a-browser/30640)

<div class="topic-metadata">

**Author:** [@dylb0t](https://discourse.threejs.org/u/dylb0t)\
**Replies:** 3\
**Last updated:** [May 13, 2022, 12:04am UTC](https://discourse.threejs.org/t/render-a-still-without-a-browser/30640 "2022-05-13T00:04:10Z")

</div>

I have been looking everywhere for this, and think it may be impossible. It is similar to this post: How to Save a file to a specific location However, my situation is somewhat different. I have around 5k scenes in 5k …

---

## [How to export scene to make a video file?](https://discourse.threejs.org/t/how-to-export-scene-to-make-a-video-file/14703)

<div class="topic-metadata">

**Author:** [@Marek\_Krzeminski](https://discourse.threejs.org/u/Marek_Krzeminski)\
**Replies:** 3\
**Last updated:** [January 1, 2022, 8:43pm UTC](https://discourse.threejs.org/t/how-to-export-scene-to-make-a-video-file/14703 "2022-01-01T20:43:01Z")

</div>

I have an animation that I play back in threeJS that I would like to export to a video file to share with people on youTube. How can I create a video file from an scene animation?

---

## [Headless rendering functional, how to take screenshot?](https://discourse.threejs.org/t/headless-rendering-functional-how-to-take-screenshot/31700)

<div class="topic-metadata">

**Author:** [@dogs\_of\_five](https://discourse.threejs.org/u/dogs_of_five)\
**Replies:** 1\
**Last updated:** [November 11, 2021, 5:15pm UTC](https://discourse.threejs.org/t/headless-rendering-functional-how-to-take-screenshot/31700 "2021-11-11T17:15:24Z")

</div>

I’m headlessly rendering a scene with Threejs + node and am currently taking screenshots via a command line program that opens a browser, loads the pre-computed scene (loads an array of shapes jsons from a DB), moves the…

---

## [\[Solved\] GLTFLoader DRACOLoader in nodejs](https://discourse.threejs.org/t/solved-gltfloader-dracoloader-in-nodejs/5980)

<div class="topic-metadata">

**Author:** [@Alejandro\_Insua](https://discourse.threejs.org/u/Alejandro_Insua)\
**Replies:** 21\
**Last updated:** [October 21, 2021, 12:45pm UTC](https://discourse.threejs.org/t/solved-gltfloader-dracoloader-in-nodejs/5980 "2021-10-21T12:45:48Z")

</div>

Hi. I am trying to load a GLTF binary file (glb) with DRACO compression in a nodejs script. Is there any way to achieve this? Best regards

---

## [Type error even after importing STLLoader seperately in Three.js](https://discourse.threejs.org/t/type-error-even-after-importing-stlloader-seperately-in-three-js/30011)

<div class="topic-metadata">

**Author:** [@godsofheaven](https://discourse.threejs.org/u/godsofheaven)\
**Replies:** 0\
**Last updated:** [September 17, 2021, 5:54pm UTC](https://discourse.threejs.org/t/type-error-even-after-importing-stlloader-seperately-in-three-js/30011 "2021-09-17T17:54:24Z")

</div>

I am trying to implement Three.js in node as I want my code to be on the server-side and not visible to the client. This is my code currently that I am using: const THREE = requires('three'); const STLLoader = import('t…

---

## [Using GLB with textures on node](https://discourse.threejs.org/t/using-glb-with-textures-on-node/16854)

<div class="topic-metadata">

**Author:** [@muhmundr](https://discourse.threejs.org/u/muhmundr)\
**Replies:** 6\
**Last updated:** [July 30, 2021, 2:53pm UTC](https://discourse.threejs.org/t/using-glb-with-textures-on-node/16854 "2021-07-30T14:53:39Z")

</div>

I need to load .glb or .gltf files on node. I’ve read all related topics here, but seems that there is no good answer. I have a glb file that should be processed by node, then attached to another code generated 3d-object…

---

## [Do we have to use the whole 0.4GB file to use three.js extensions with ES6?](https://discourse.threejs.org/t/do-we-have-to-use-the-whole-0-4gb-file-to-use-three-js-extensions-with-es6/27838)

<div class="topic-metadata">

**Author:** [@spikethea](https://discourse.threejs.org/u/spikethea)\
**Replies:** 3\
**Last updated:** [July 7, 2021, 4:36pm UTC](https://discourse.threejs.org/t/do-we-have-to-use-the-whole-0-4gb-file-to-use-three-js-extensions-with-es6/27838 "2021-07-07T16:36:13Z")

</div>

Hi, At the moment im using three.js with WebXR to create a AR interface, so ive used Node Express (I know) so that can use HTTPS and SSL, which is required for devices to accept AR. The only thing about this, is that i…

---

## [Failure with the GLTF loader when running my THREE.js project on a Node.js server](https://discourse.threejs.org/t/failure-with-the-gltf-loader-when-running-my-three-js-project-on-a-node-js-server/19728)

<div class="topic-metadata">

**Author:** [@Jordan\_Burkardt](https://discourse.threejs.org/u/Jordan_Burkardt)\
**Replies:** 1\
**Last updated:** [March 11, 2021, 11:02pm UTC](https://discourse.threejs.org/t/failure-with-the-gltf-loader-when-running-my-three-js-project-on-a-node-js-server/19728 "2021-03-11T23:02:23Z")

</div>

I am getting errors when loading GLTF objects over a Node.js server. This works fine when I am using an XAMPP server, however when I attempt to use Node.js i get this error report: https://github.com/pantsdogreturns/spa…

---

## [Belgium Senior FRONT DEV (WEBGL)](https://discourse.threejs.org/t/belgium-senior-front-dev-webgl/22022)

<div class="topic-metadata">

**Author:** [@MGENTIS](https://discourse.threejs.org/u/MGENTIS)\
**Replies:** 0\
**Last updated:** [December 29, 2020, 4:20pm UTC](https://discourse.threejs.org/t/belgium-senior-front-dev-webgl/22022 "2020-12-29T16:20:51Z")

</div>

I’m Looking for a freelance dev based in Belgium

---

## [Set up a development server](https://discourse.threejs.org/t/set-up-a-development-server/21545)

<div class="topic-metadata">

**Author:** [@Ivan\_Zotov](https://discourse.threejs.org/u/Ivan_Zotov)\
**Replies:** 3\
**Last updated:** [December 12, 2020, 10:01pm UTC](https://discourse.threejs.org/t/set-up-a-development-server/21545 "2020-12-12T22:01:27Z")

</div>

I’m trying to transfer the lesson code to the computer. Gives an error to import. What should I to replace it with? Thank you.

---

## [Easiest way to render in Node using Three.js](https://discourse.threejs.org/t/easiest-way-to-render-in-node-using-three-js/7690)

<div class="topic-metadata">

**Author:** [@kbruneel](https://discourse.threejs.org/u/kbruneel)\
**Replies:** 6\
**Last updated:** [November 1, 2020, 2:02am UTC](https://discourse.threejs.org/t/easiest-way-to-render-in-node-using-three-js/7690 "2020-11-01T02:02:04Z")

</div>

What is the easiest way to render in Node.js? I tried SoftwareRenderer and got it working, but I keep running into inconsistencies with WebGLrenderer. I just tried headless-gl and got it working for a very simple examp…

---

## [Convert objects in 3D to 2D image](https://discourse.threejs.org/t/convert-objects-in-3d-to-2d-image/18918)

<div class="topic-metadata">

**Author:** [@Jos\_Bammens](https://discourse.threejs.org/u/Jos_Bammens)\
**Replies:** 8\
**Last updated:** [September 23, 2020, 7:41am UTC](https://discourse.threejs.org/t/convert-objects-in-3d-to-2d-image/18918 "2020-09-23T07:41:05Z")

</div>

Hello guys I’m creating a product configurator, which uses three.js combined with CSG to visualise the products. Those products can be pretty simple shapes, think rectangles with a corner cut off,… I’m saving all the d…

---

## [When would you consider writing your Three.js application to be hosted by Node.js?](https://discourse.threejs.org/t/when-would-you-consider-writing-your-three-js-application-to-be-hosted-by-node-js/18221)

<div class="topic-metadata">

**Author:** [@Raymond\_Herrera](https://discourse.threejs.org/u/Raymond_Herrera)\
**Replies:** 2\
**Last updated:** [August 28, 2020, 8:38am UTC](https://discourse.threejs.org/t/when-would-you-consider-writing-your-three-js-application-to-be-hosted-by-node-js/18221 "2020-08-28T08:38:41Z")

</div>

I am still trying to make sense of the Javascript alphabet soup, kindly bear with my noobiness. I was in the middle of asking: “Should I use Node.js instead of Three.js for my app that is almost ready?” A quick web sea…

---

## [Running threejs on headless chromium using gpu](https://discourse.threejs.org/t/running-threejs-on-headless-chromium-using-gpu/18080)

<div class="topic-metadata">

**Author:** [@Nisanez](https://discourse.threejs.org/u/Nisanez)\
**Replies:** 1\
**Last updated:** [August 25, 2020, 1:06pm UTC](https://discourse.threejs.org/t/running-threejs-on-headless-chromium-using-gpu/18080 "2020-08-25T13:06:12Z")

</div>

Hi all! I am trying to use threejs on headless chromium using puppeteer(v5.2.1) and gpu acceleration ( Not swiftshader) However, when trying to run threejs I get black screen. I wrote simple script to showcase the iss…

---

## [Correct Way to Install Node.js in a Multiuser Server?](https://discourse.threejs.org/t/correct-way-to-install-node-js-in-a-multiuser-server/17958)

<div class="topic-metadata">

**Author:** [@Raymond\_Herrera](https://discourse.threejs.org/u/Raymond_Herrera)\
**Replies:** 5\
**Last updated:** [August 17, 2020, 10:22pm UTC](https://discourse.threejs.org/t/correct-way-to-install-node-js-in-a-multiuser-server/17958 "2020-08-17T22:22:25Z")

</div>

I have to acknowledge being an old timer U\*ix system administrator. Software to be used by everybody had two possible locations: /usr/bin /usr/local/bin The best example is gcc and family. Now I find myself in a new …

---

## [Server side objloader](https://discourse.threejs.org/t/server-side-objloader/17570)

<div class="topic-metadata">

**Author:** [@mrmola](https://discourse.threejs.org/u/mrmola)\
**Replies:** 2\
**Last updated:** [August 1, 2020, 3:47pm UTC](https://discourse.threejs.org/t/server-side-objloader/17570 "2020-08-01T15:47:12Z")

</div>

I dont understand how nobody else has had this problem, I am running threejs server side for collision detection and I need it to load a obj/mtl file. However, it appears that the threejs base loader uses xmlhttprequest,…

[Next page](https://discourse.threejs.org/tag/node-js/325.md?match_all_tags=true&page=1&tags%5B%5D=node-js)
