GithubHelp home page GithubHelp logo

Comments (11)

mysticatea avatar mysticatea commented on May 20, 2024

Thank you for reporting and providing the test case!
I will investigate it today (JST).

from npm-run-all.

mysticatea avatar mysticatea commented on May 20, 2024

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.

mysticatea avatar mysticatea commented on May 20, 2024

I released v1.3.0 now.
I added supporting --:= options. Tests are here.

Please try it!

from npm-run-all.

jmilkiewicz avatar jmilkiewicz commented on May 20, 2024

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.

mysticatea avatar mysticatea commented on May 20, 2024

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.

mysticatea avatar mysticatea commented on May 20, 2024

I believe this feature is working now.
Please feel free to reopen if problems have remained.

from npm-run-all.

jmilkiewicz avatar jmilkiewicz commented on May 20, 2024

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.

jmilkiewicz avatar jmilkiewicz commented on May 20, 2024

It seems i have no permission to reopen that issue, but definitely it shall be re opened

from npm-run-all.

mysticatea avatar mysticatea commented on May 20, 2024

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.

mysticatea avatar mysticatea commented on May 20, 2024

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.

mysticatea avatar mysticatea commented on May 20, 2024

Now, npm-run-all came to transfer overwritten config values to nested calls.
Please try it.

from npm-run-all.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.