Skip to content

Deploy fails with other Rail projects #19

@mkokabi

Description

@mkokabi

Hi,
I am trying with a sample created by

rails new demo

while I push my changes the deployment starts but it would fail with this error:

Command: "/home/site/deployments/tools/deploy.sh"
ENOENT: no such file or directory, open '/opt/nodejs/12.13.0/npm.txt'
Handling node.js deployment.
Kudu sync from: '/home/site/repository' to: '/home/site/wwwroot'
Copying file: 't1.txt'
Ignoring: .git
Detecting node version spec...
Using default version: 12.13.0
Node.js versions available on the platform are: 4.4.7, 4.5.0, 4.8.0, 6.2.2, 6.6.0, 6.9.3, 6.10.3, 6.11.0, 6.17.1, 8.0.0, 8.1.4, 8.2.1, 8.8.1, 8.9.4, 8.11.2, 8.12.0, 8.15.1, 8.16.2, 9.4.0, 10.1.0, 10.10.0, 10.14.2, 10.17.0, 12.13.0.
Resolved to version 12.13.0
Detecting npm version spec...
An error has occurred during web site deployment.
select node version failed
ENOENT: no such file or directory, open '/opt/nodejs/12.13.0/npm.txt'\n/opt/Kudu/KuduConsole/Scripts/starter.sh "/home/site/deployments/tools/deploy.sh"

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