Node.js restore in Windows

I want to start developing a REST API using Node.js. My development environment is a Windows 7 machine.

I read that restyling is a good choice to run the REST API, but this module depends on the dtrace provider, and the dtrace-provider is not compatible with Windows.

How can I compile this module on windows? Is there any other way to make this work?

+4
source share
2 answers
+2
source

This issue has been resolved ( https://github.com/mcavage/node-restify/issues/100 ), and the DTrace dependency is optional.

It only worked for me on npm 1.1.5, so you may need to update ( npm update npm@1.1.5 -g works as an administrator).

+4
source

Source: https://habr.com/ru/post/1398678/


All Articles