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

npm run deploy crashes #43

Open
archiewald opened this issue Apr 22, 2020 · 0 comments
Open

npm run deploy crashes #43

archiewald opened this issue Apr 22, 2020 · 0 comments

Comments

@archiewald
Copy link
Collaborator

tested on Linux and Ubuntu with similar result

AzureAD+ArturKozubek@vostro MINGW64 ~/projects/github/altruisto/website (feat/pwa-a2hs-landing)
$ npm run deploy

> [email protected] deploy C:\Users\ArturKozubek\projects\github\altruisto\website
> ts-node --project tsconfig.server.json scripts/deploy.ts

>> deploy: copied `./shared`
>> deploy: replacement results: [
  { file: 'server.ts', hasChanged: true },
  { file: 'pages/contact.tsx', hasChanged: false },
  { file: 'pages/email-subscriber-confirm.tsx', hasChanged: false },
  { file: 'pages/email-subscriber-thankyou.tsx', hasChanged: false },
  { file: 'pages/privacy-policy.tsx', hasChanged: false },
  { file: 'pages/terms-of-service.tsx', hasChanged: false },
  { file: 'pages/waiting.tsx', hasChanged: false },
  { file: 'pages/welcome.tsx', hasChanged: false },
  {
    file: 'pages/confirm-email/[email-verification-token].tsx',
    hasChanged: false
  },
  { file: 'pages/partners/[domain].tsx', hasChanged: false },
  { file: 'pages/partners/index.tsx', hasChanged: true }
]
>> deploy: commit created
>> deploy: pushing new branch to the homepage repo
>> deploy: branch pushed
>> deploy: reseting branch with master so it can be easily merged
error: pathspec 'deploy-22_4_2020_3_35_PM' did not match any file(s) known to git

(node:29896) UnhandledPromiseRejectionWarning: Error: error: pathspec 'deploy-22_4_2020_3_35_PM' did not match any file(s) known to git

    at toError (C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\promise.js:90:14)
    at C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\promise.js:61:36
    at Git.<anonymous> (C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\src\git.js:517:18)
    at Function.Git.fail (C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\src\git.js:1475:18)
    at fail (C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\src\git.js:1433:20)
    at C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\src\git.js:1442:16
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:29896) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:29896) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
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