0
最近node.jsサーバにnode-webglをインストールしました。それに加えて、node-glfwが自動的にインストールされる依存関係です。私はnode-gypもインストールしました。node-webglの例を実行するには
しかし、node-webglまたはnode-glfwのいずれかのプログラムを実行しようとすると、エラーに直面しています。以下はエラーメッセージです:
C:\Users\z003npra>cd C:\Users\z003npra\Desktop\node\node_modules\node-webgl\examples
C:\Users\z003npra\Desktop\node\node_modules\node-webgl\examples>node wavefront.js
C:\Users\z003npra\Desktop\node\node_modules\bindings\bindings.js:83
throw e
^
Error: The specified module could not be found.
\\?\C:\Users\z003npra\Desktop\node\node_modules\node-webgl\build\Release\webgl.node
at Error (native)
at Object.Module._extensions..node (module.js:434:18)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at bindings(C:\Users\z003npra\Desktop\node\node_modules\bindings\bindings.js:76:44)
at Object.<anonymous> (C:\Users\z003npra\Desktop\node\node_modules\node-webg
l\lib\webgl.js:1:108)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
C:\Users\z003npra\Desktop\node\node_modules\node-webgl\examples>
このエラーは、リンクで引用された人が直面している同様の問題である:https://github.com/mikeseven/node-webgl/issues/47
私はここに述べたいくつかの可能な解決策を試してみましたが、問題が解決取得されていません。
申し訳ありませんが、私はこのことを知りませんでした。このような問題は再び発生しません。私は他の2つの質問のためにこれを行い、今そこに戻るでしょう。 –
心配しないで、Prajwalに感謝します。下にあなたの答えをチェックすることを忘れないでください! – halfer