Skip to content

/usr/bin/env: 'node\r': No such file or directory #6

Description

@dadamschi

I am trying to git-deploy an express app to Azure. When I run the following command locally or in Gitlab, I get the following error /usr/bin/env: 'node\r': No such file or directory.

Has anyone seen this issue?

deploy.js

'use strict';

module.exports = function(deployTarget) {
  if (deployTarget === 'production') {
    console.log('deploying...');

    return {
      'git': {
        repo: process.env.REPO,
        branch: 'master',
        worktreePath: '/tmp/ef4-deploy-lightning-app',
        commitMessage: 'Deployed %@'
       }
    };
  };
  
};

The command I used to deploy is deployjs deploy -e production --verbose

I am trying to run this in a MacOS/Linux environment.

@duizendnegen any thoughts on this would be greatly appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions