Skip to main content

All Questions

Tagged with
0 votes
0 answers
241 views

yarn global add windows-build-tools, GET https://npm.taobao.org/mirrors/python/2.7.15/python-2.7.15.amd64.msi returned 404

PS C:\Users\member2> yarn global add windows-build-tools yarn global v1.22.22 [1/4] Resolving packages... warning [email protected]: Node.js now includes build tools for Windows. You ...
user24964957's user avatar
0 votes
0 answers
65 views

How to execute a nodejs function from the python code?

Our application uses python and serverside nodejs. There is python code which sends notifications to users. When a notification is send we need to send that info to a third part tool for analytics. We ...
Hari Prashanth Nayak Porika's user avatar
3 votes
2 answers
3k views

node-gyp common.gypi 'uv_library%': 'static_library' syntax error

I was attempting to run npm install on one of my projects however, I encountered an error in common.gypi regarding the Syntax of line 1 "'uv_library%': 'static_library'," If anyone has any ...
James's user avatar
  • 31
0 votes
1 answer
356 views

POST request with json data using ironpython

I'm writing code in ironpython and I'm trying to send a http post request to the server with json in the request body. For this I use the C# method: HttpWebRequest. I know there are more advanced and ...
Eyal Sinay's user avatar
2 votes
2 answers
3k views

Adding python2 to Docker using node:16.15.1 (alpine 3.16)?

I need to include python2 in my Dockerfile for a Vue app in order to build a dependency [email protected] (defined in package.json). The following works fine: FROM node:16.15.0-alpine as builder RUN ...
Knuth's user avatar
  • 121
0 votes
1 answer
5k views

Run `npm audit fix` to fix them, or `npm audit` for details . While Installing NPM?

I'm trying to install npm by using command line in windows 10 but it is not installing instead it gives error as : updated 2 packages and audited 3090 packages in 21.506s found 133 vulnerabilities (27 ...
shiv shah's user avatar
2 votes
0 answers
710 views

b64decode python vs Buffer.from(ePayload, 'base64') node JS

Encryption is done is python & decryption to be done in Node js but facing following issues in JS I guess some characters are getting escape from string within JS like 'backslash', '_', '' ...
Hitesh Panjawani's user avatar
-3 votes
1 answer
126 views

Please see my problem, believe me it is easy to solve

i tried to implement async and await inside spawn child process. But it didn't worked. Please see this Expected output ************* http://www.stevecostellolaw.com/ ************* http://www....
Nick jones's user avatar
1 vote
0 answers
2k views

macOS(10.13.6) npm install error - Failed at the [email protected] install script with node version 9.8.0

Initially my project setup was working fine for with node version 9.8.0 and fibers version ^4.0.1 but due to a replicate issue I run a very old version of my project codebase, an old code base compile ...
Tumpa Roy's user avatar
1 vote
0 answers
81 views

Python Selenium Automation not launching from Node

We have a python 2.7 based selenium automation that does an activity of launching IE page and does some maintenance work there. We used PyInstaller to make an .exe out of the pyscript and we noticed ...
Pavan Dittakavi's user avatar
0 votes
0 answers
40 views

python not returning value to node

node server code let { PythonShell } = require("python-shell"); let options = { mode: 'text', pythonPath: 'C:\\Python27\\ArcGIS10.6\\python.exe', pythonOptions: ['-u'], ...
Lord Corwin's user avatar
2 votes
2 answers
4k views

Run python script from Node.js (child_process) with named arguments

I have a python script which can be run with this argument on the command line: python2 arg1 --infile abc.csv --encrypt true --keyfile xyz.bin 1234 WOW path However, if I try to do the same thing ...
Pranav Bhatia's user avatar
1 vote
1 answer
444 views

How do I make npm install work when it can't find my python installation?

npm install fails and my goal is to get it to succeed. I have Python 2 installed, but it is located at /usr/bin/python2 and not /usr/local/bin/python2. I get the following error message when running ...
user3367130's user avatar
0 votes
1 answer
1k views

Plus sign gets replaced by space when posting from wkhtmltopdf to expressjs

I'm executing a wkhtmltopdf command, in full: email = "[email protected]" password = "123" base_url = "http://sky.net" cookie_path = "./cookie.jar" report_path = "./report.pdf" token = "abc123" ...
krulik's user avatar
  • 1,046
0 votes
2 answers
208 views

Is there a way to increase the time out on a callback function in nodejs?

I am running a simple nodejs web application that executes a Python 2.7 script using the module python-shell. However, since this script takes too long to execute, around 3 minutes, the function fails ...
PaoloAgVa's user avatar
  • 1,423

15 30 50 per page
1
2 3 4 5 6