poidstotal / stataRun

Provide a Visual Studio Code extension to run code(.do, .ado and command from) for Visual Studio Editor
25 stars 8 forks source link

Cannot find 'winax' module under Windows. #4

Closed Najsztub closed 5 years ago

Najsztub commented 6 years ago

Hey,

I wanted to run my Stata code using the extension under Win7 and I cannot do this due to the lack of 'winax' extension. Any clue how to get over this? Below is the error log: runstata_error

Best, Mateusz

poidstotal commented 6 years ago

Hi, this is because the extension has declare winax as platform specific requirement, One way would be to go into the terminal and install winax manually. Not sure if that will work, but just an idea. I will try on windows and get back to you. If you re convient with coding you may also want to fix and commit.

Najsztub commented 6 years ago

Thanks for the reply.

I've tried to install winax manually. After installing Node.js and npm I installed node-gyp. Unfortunately node-gyp does not support Python 3 ( seriously?!). I had to install Python 2.7 together with MS VC++ to get node-gyp running (I've run npm install --global --production windows-build-tools from node-gyp readme). Unfortunately while trying to run node-gyp on node-activex repo I got an error. I had to reinstall Node. It didn't help.

So for the while I'm stuck with Stata's default editor.

Najsztub commented 5 years ago

See #6