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

Deno task cannot run a script when it contains "~" #26676

Open
softwarespot opened this issue Nov 1, 2024 · 1 comment
Open

Deno task cannot run a script when it contains "~" #26676

softwarespot opened this issue Nov 1, 2024 · 1 comment
Labels
bug Something isn't working correctly task runner related to deno task

Comments

@softwarespot
Copy link

Version: Deno 2.0.4

I have the following script in package.json, where when I run deno task sync, deno returns an error (see below): Am I doing something wrong?

Script:

"scripts": {
    "sync": "watch rsync -av --delete ./build/ server-dns:~/dir/build/"
},

Error:

error: Error parsing script 'sync:wildnis'.

Caused by:
    Unexpected character.
      ~/dir/build/
      ~
@nathanwhit nathanwhit added bug Something isn't working correctly task runner related to deno task labels Nov 1, 2024
@bombillazo
Copy link

Im getting a similar issue as well:

error: Error in @stripe/react-stripe-js@3.1.0 parsing version requirement for dependency "react-dom": ">=16.8.0 && <=^19.0.0"

Caused by:
    0: Invalid version requirement
    1: Unexpected character.
         >=16.8.0 && <=^19.0.0
         ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly task runner related to deno task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants