Comments (11)
Thank you for reporting and providing the test case!
I will investigate it today (JST).
from npm-run-all.
OK, I had not noticed this feature.
I will add support this.
Please wait for a few days to release... (I don't have enough time in weekdays)
from npm-run-all.
I released v1.3.0 now.
I added supporting --:=
options. Tests are here.
Please try it!
from npm-run-all.
Hi
So for now it does not work at all :(.
when i updated to 1.3.0 than on running
npm test --npm-run-all-bug:reporter=nyan
i got:
ERROR: test:t: None-Zero Exit(7);
npm ERR! Test failed. See above for more details.
in npm-debug.log one can see more details:
⌘ cat npm-debug.log.c6eddc672a318240c004b7a835d29ae0
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run-script',
1 verbose cli 'test:t' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pretest:t', 'test:t', 'posttest:t' ]
5 info pretest:t [email protected]
6 info test:t [email protected]
7 verbose unsafe-perm in lifecycle true
8 verbose stack Error: write EIO
8 verbose stack at Object.exports._errnoException (util.js:874:11)
8 verbose stack at exports._exceptionWithHostPort (util.js:897:20)
8 verbose stack at WriteWrap.afterWrite (net.js:763:14)
9 verbose cwd /Users/jmilkiewicz/workspace/npm-run-all-bug
10 error Darwin 14.5.0
11 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run-script" "test:t"
12 error node v4.2.1
13 error npm v2.14.7
14 error code EIO
15 error errno EIO
16 error syscall write
17 error write EIO
18 error If you need help, you may report this error at:
18 error https://github.com/npm/npm/issues
19 verbose exit [ 1, true ]
from npm-run-all.
I'm sorry.
I fixed the problem, and republished as v1.3.2
.
I hope you can use the overwriting feature...
from npm-run-all.
I believe this feature is working now.
Please feel free to reopen if problems have remained.
from npm-run-all.
Hey
Sorry for a huge delay - we simply had fire in project i am working on. Thx a lot for your effort fixing that issue (and a temporary break it introduce in v 1.3.1).
It is hard to me to say that it still does not work in version 1.3.3. I wish i could provide you with a better test suite ( an automated one) but for now i only have https://github.com/jmilkiewicz/npm-run-all-bug
Please simply clone the repo and run these 3 commands as described in README to find out that it still does not work as expected.
from npm-run-all.
It seems i have no permission to reopen that issue, but definitely it shall be re opened
from npm-run-all.
I think that's expected behavior because npm run-script
is the same behavior.
diff --git a/package.json b/package.json
index 05d2bd0..bf58b4b 100644
--- a/package.json
+++ b/package.json
@@ -8,8 +8,8 @@
"main": "index.js",
"scripts": {
"test": "npm-run-all test:*",
- "test-2": "npm-run-all test:t",
- "test:t": "mocha --reporter ${npm_package_config_reporter}"
+ "test-2": "npm run test:t",
+ "test:t": "mocha --reporter %npm_package_config_reporter%"
},
"keywords": [],
"author": "",
C:\Users\t-nagashima.AD\Documents\GitHub\npm-run-all-bug [master +0 ~1 -0]> npm run-script test-2 --npm-run-all-bug:reporter=nyan
> [email protected] test-2 C:\Users\t-nagashima.AD\Documents\GitHub\npm-run-all-bug
> npm run test:t
> [email protected] test:t C:\Users\t-nagashima.AD\Documents\GitHub\npm-run-all-bug
> mocha --reporter %npm_package_config_reporter%
Array
#indexOf()
√ should return -1 when the value is not present
1 passing (9ms)
from npm-run-all.
Hmm, but the purpose is different between npm run-script
and npm-run-all
, so to forward the overwritten state might make sense.
from npm-run-all.
Now, npm-run-all
came to transfer overwritten config values to nested calls.
Please try it.
from npm-run-all.
Related Issues (20)
- dependency shell-quote CVE-2021-42740 HOT 1
- zcds`z;;x;vvvvdc x=
- --race appears to be non-functional HOT 2
- 安装后不认识命令npm-run-all HOT 1
- Task not found HOT 1
- Why do installations of run-s and run-p succeed without installing npm-run-all ?
- remove string.prototype.padend dependency HOT 2
- Exit code 134 not propagated
- [feature] Group outputs like if tasks were run in sequence
- Add option, or set by default, `FORCE_COLOR=1`
- OWASP Dependency scan results HOT 1
- Veracode vulnerability in dependent package shell-quote HOT 1
- Unknown option: 'xxxx:commitizen_path' with pnpm HOT 8
- Ditching `padend`? HOT 1
- high vulnerability issue in dependent package minimatch
- How can I run a command directly without creating a new script for it
- $ npm install npm-run-all --save-dev
- Not maintained anymore? HOT 1
- npm-run-all is reported as having a moderate severity vulnerabilty HOT 4
- Allow default values when args is empty HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-run-all.