-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn run + npm scripts #780
Comments
Are you seeing an error message? |
Also reported in #782 |
error Command failed with exit code 127 is what I get when I try |
Ah sorry, the rebase made Travis go away. If you look at the comments, @carols10cents shows an error. On Oct 11, 2016, 22:36 -0400, Yojan Shrestha [email protected], wrote:
|
Taking a look at https://yarnpkg.com/en/docs/cli/run , the usage should be Try changing |
@FLGMwt that would make sense, thanks. I've pushed a commit, we'll see what travis says. |
FWIW, I'm experiencing the same issue as @steveklabnik in the same context (i.e. For example, I have scripts in my package.json like this: "scripts": {
"build": "ember build",
"start": "ember server",
"test": "ember try:each",
"test:dev": "ember test --filter ESLint -i",
"tdd": "npm run test:dev -- -s",
"lint": "ember test --filter ESLint"
},
So it seems that there's a disconnect where FWIW, |
Seeing an similar issue. If the script in package.json is a single command it will run. If the command has arguments or is a compound command (or contains a space), the script fails with |
This should be fixed in #809 |
@randycoulman looks like it. What's yarn's release schedule gonna look like? Any idea when that'll hit a release? |
Any eta on releasing this? |
@scothis same problem here: "scripts": {
"start": "node server.js",
"test": "mocha"
}, yarn $ yarn start
yarn start v0.15.1
$ "node server.js"
sh: node server.js: command not found
error Command failed with exit code 127.
info Visit http://yarnpkg.com/en/docs/cli/start for documentation about this command. npm $ npm start
> [email protected] start /path/to/project
> node server.js npm runs fine, but yarn errors out. I tried |
As stated #809 will resolve this. Thanks everyone! |
Gracias @dougludlow |
I am experiencing similar issue in Yarn version 0.17.8. Basically, I cannot reference This works! Referencing
But this does not work, referencing
Output...
I am not sure if this issue was re-introduced at some point after #809 or if this is an entirely different issue.
If you are aware of an existing issue already addressing this please point me in that direction. I have found several very similar issues but they don't quite address the same problem. |
Has this been resolved? Im using buble (https://buble.surge.sh) trying to output code into a .js file like so;
I get the annoying (unnecessary) gibberish in my file.
|
@ElvisMagagula - That looks like a separate issue, could you please file a separate GitHub issue for it? |
@kstoddar currently in the same position |
Can anyone please help me with some information related to following. events.js:182 Error: watch /home/pavan/ALPS/web-alps/public ENOSPC This error sometimes it appear and sometimes it doesn`t. Thanks, |
@pavankumarbijja this is a question for StackOverflow or Google. Google |
yarn run v1.12.3 What is happening? info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
This might be a duplicate of #733 but I'm not sure.
In rust-lang/crates.io#457, we're trying to move to yarn. It's an ember app, and so relies on things like
ember test
to run tests.The important part of the diff is here: https://github.com/rust-lang/crates.io/pull/457/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R10
That is, we have several npm scripts that, in my understanding, should be prefixed with
yarn run
. But on Travis, and possibly in other configurations, this seems to fail.Am I Doing it Wrong, or is this a bug?
The text was updated successfully, but these errors were encountered: