NPM plugin seems not working fine anymore since gnome-builder 3.32.1
bulder 3.32.1 seems ignoring the "scripts"
section of the package.json
file.
I have the following package.json
file at the root of my project:
{
"name": "node-ooxml-parser",
"version": "0.0.1",
"description": "Extract information from MS Office Open Document files (.docx, .xlsx, .pptx)",
"repository": "https://gitlab.com/lviggiani/node-ooxml-parser",
"main": "index.js",
"scripts": {
"start": "node test.js"
},
"author": "Luca Viggiani",
"license": "ISC",
"dependencies": {
"unzip": "*",
"xml2js": "*",
"xmldom": "*",
"xpath": "*"
}
}
I'm expecting that when selecting run
(the play icon) it should execute npm start
which in turn executes node test.js
as specified in the "scripts"
section. However that it's not actually executed. I only get something like this:
Application started at 14:49:16
Application exited
and in messages tab I get An unkonwn error occurred while spawning
whereas if I manually run npm start
from terminal all it's executed as expected. Also, in gnome-builder 3.30 the same project was executed as expected if pressing the run
button. Am I doing something wrong?