All Questions
Tagged with python-2.7 node.js
76
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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', '_', ''
...
-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....
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 ...
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 ...
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'],
...
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 ...
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 ...
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"
...
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 ...