All Questions
37 questions
0
votes
0
answers
61
views
Launching Node project through NX console prevents VScode debugging
I have a basic web project where I launch my simulation with NX console by going to the "Big N" in the left menu in Visual Studio Code, serve, development, and clicking the play button. This ...
4
votes
1
answer
3k
views
Azure DevOps, Pipeline error ##[warning]Couldn't find a debug log in the cache or working directory JsNode
I am trying to upload my JS app into Azure DevOps and during the running pipeline, I'm getting an error on the NPM build stage. ##[warning]Couldn't find a debug log in the cache or working directory. ...
0
votes
1
answer
788
views
I am unable to debug in WebStorm npm configuration
I am running a Node app with an npm configuration in WebStorm but I cannot debug, I keep getting the error below.
I have a clean system with node 16.5.0 installed along with npm
The app runs or when ...
0
votes
1
answer
211
views
How can I get around this node sass incompatibility version error when running npm run dev?
whenever I run npm run dev I get this error:
Error: Node Sass version 7.0.1 is incompatible with ^4.0.0.
Based on the compatibility list (https://github.com/sass/node-sass) I've tried setting node-...
0
votes
1
answer
2k
views
I can not install npm package in commandline eg vs code terminal or visual studio package manager
when I trying to install package from npm in vscode, receive following message and package do not install.
npm install -g express
changed 50 packages, and audited 51 packages in 7s
2 packages are ...
6
votes
3
answers
10k
views
Running npm test in a debug terminal in VSCode
I'm trying to create a configuration in my launch.json which will run npm test in the folder in which the .js file resides. Running npm test manually in a terminal works fine, taking the relevant ...
2
votes
0
answers
336
views
Live debugging a frozen nodejs program
I have a nodejs process running but after a couple hours it keeps just getting stuck in some infinite loop somewhere, no error message or timeout message right now. So I am trying to live debug the ...
0
votes
1
answer
144
views
how do I debug on webpack with vs code on chrome browser?
how do I debug on webpack with vs code on chrome browser? I am new to programming and the way i used to debug in browser doesn't work because webpack minifies it all to one line.
everything I found ...
7
votes
1
answer
5k
views
Terminal outputting: manpath: can't set the locale; make sure $LC_* and $LANG are correct
While trying to run a specific bash script, I get the following output:
manpath: can't set the locale; make sure $LC_* and $LANG are correct
Running node v4.8.5 (npm v2.15.11)
manpath: can't set the ...
7
votes
4
answers
12k
views
How to save json returned from axios in a variable?
I want to save the json returned from axios into a variable. Currently I can only see it when I console.log(response.data) with the following code:
function status() {
const url = "https://api....
0
votes
1
answer
810
views
Install a visual debugger for Jupyter
I'm trying to install this: Jupyter debugger
jupyter labextension install @jupyterlab/debugger
Building jupyterlab assets (build:prod:minimize)
An error occured.
RuntimeError: npm dependencies failed ...
0
votes
2
answers
497
views
Debug node.js backend application with an IDE, e.g. WebStorm
I added in package.json this into scripts:
"debug": "NODE_PATH=src nodemon --exec babel-node src/run.js --inspect",
It is pretending that it is debugging but jumping on selected lines how it pleases. ...
8
votes
2
answers
7k
views
.env with debugging breakpoint using vscode and dotenv npm
I'm using a nodejs server side api, setting up environment variables with dotenv npm package, and running the code from npm scripts in package.json as below:
"scripts": {
"local": "cross-env ...
8
votes
1
answer
10k
views
What does Yarn (really) mean by "warning Pattern ["debug@^4.1.1"] is trying to unpack in the same destination"
I see there are other questions regarding this warning from Yarn on Stack Overflow, but I can't find the answer to what it means -- I mean, what it really means. That is, what does it mean for me and ...
0
votes
1
answer
1k
views
Invalid channel name - What could be causing this?
I am working on a site that will have a chatbox on it, basically it has a bunch of channels for different languages as well a channel for moderators and a channel for announcements.
I am getting an ...