I am using Windows 7 64-bit. Whenever I try to build my projects via command prompt, using opa command it generates a .js file which, when run, thows an error, saying: module.js: 340 throw err; - and such. opa create command also throws error, saying that opa-create.exe is not compatible with the version of windows I'm using, and it requires 64-bit , tho I am using 64-bit. I've seen someone saying that running node file.exe, for instance, could solve the problem, however it throws the same error as when running a .js file generated previously. Someone said: run npm install mongodb formidable nodemailer imap however the command throws an error, saying:
gyp ERR! configure error gyp ERR! stack Error:
Command failed: File "<string>", line 1
gyp ERR! stack import platform; print platform.python_version();
gyp ERR! stack
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:551:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:96:17)
gyp ERR! stack at maybeClose (child_process.js:649:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:701:5)
gyp ERR! stack at process._makeCallback (node.js:248:20)
gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\npm\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Vincas\Documents\Opa Projects\experimentations\node_modules\nodemailer\node_modules\mailcomposer\node_modules\mimelib\node_modules\encoding\node_modules\iconv
gyp ERR! node -v v0.9.3
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok npm WARN optional dep failed, continuing iconv@1.2.3