differential-works / 3D-Tile-Server

A node server using three.js and puppeteer with headless chrome to serve .gltf files into various applications such as Rhino.
MIT License
19 stars 1 forks source link

Error npm install #1

Open KazuhiroTakahashiAQ opened 1 month ago

KazuhiroTakahashiAQ commented 1 month ago

Thank you awesome project! I want to run this server!

But I can't install ( npm install) node packages. Do you have a hint?

I attached log file. 2024-07-29T18_37_54_129Z-debug-0.log

I tried install node-gyp after fail npm install. It done. And I tried install windows-build-tools, it's fail. I attach log file. 2024-07-29T18_43_56_798Z-debug-0.log

Environment

OS: Windows11(64bit) Python: v3.12.3 Visual Studio: 2022 Community v17.10.3 (installed desktop development C++ workload) npm: 10.8.2 nodejs: 22.5.1

differential-works commented 1 month ago

Hi Kazuhiro,

I haven't had a chance to go through the entire log but a couple of things worth checking.

  1. In the NPM docs for gpy, you can see that Python 2.7 is supported and not 3+ and from a quick look at your log it seems you have Python version 3.12.3 installed.
  2. Please check the Python library paths are pointing to the right folder on your computer for v2.7 - this is also discussed on the NPM page for gpy under windows (https://www.npmjs.com/package/node-gyp/v/3.8.0)

I also remember having trouble with this part, but hopefully, by working through the two points above, you can resolve it.

Best of luck! Krishna

On Tue, 30 Jul 2024 at 04:49, KazuhiroTakahashiAQ @.***> wrote:

I can't install ( npm install) node packages. Do you have a hint?

I attached log file. 2024-07-29T18_37_54_129Z-debug-0.log https://github.com/user-attachments/files/16417572/2024-07-29T18_37_54_129Z-debug-0.log

I tried install node-gyp after fail npm install. It done. And I tried install windows-build-tools, it's fail. I attach log file. 2024-07-29T18_43_56_798Z-debug-0.log https://github.com/user-attachments/files/16417884/2024-07-29T18_43_56_798Z-debug-0.log Environment

OS: Windows11(64bit) Python: v3.12.3 Visual Studio: 2022 Community v17.10.3 (installed desktop development C++ workload) npm: 10.8.2 nodejs: 22.5.1

— Reply to this email directly, view it on GitHub https://github.com/differential-works/3D-Tile-Server/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHTB55YOK2DIXTOL76VM7G3ZO2FDFAVCNFSM6AAAAABLU3AMFOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTMMJQHE3TINQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Krishna Duddumpudi [Co-Founder, Director]

e : @.*** m : +64(0)21932220

www.differential.works