Skip to content
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

Syntax error: "(" unexpected #3

Open
TanguyDucky opened this issue Jul 28, 2020 · 0 comments
Open

Syntax error: "(" unexpected #3

TanguyDucky opened this issue Jul 28, 2020 · 0 comments

Comments

@TanguyDucky
Copy link

With a simple package.json

"scripts": {
    "delay": "npm-delay 1000"
}

Running npm run delay throws the following error:

/node_modules/.bin/npm-delay: 1: Syntax error: "(" unexpected

It works fine with

"scripts": {
    "delay": "node ./node_modules/npm-delay 1000"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant