`npm` and `node` not working on AWS CodeBuild
Asked Answered
B

0

6

Story:
I have built a docker image in my local which is laradock/workspace.
I can use the npm and node inside the docker image in my local.
I uploaded the same image at AWS EC2 Container and use it at AWS CodeBuild.

Problem:
But when I do the node -v inside the buildspec.yml it is not working and always return a status 127.

Reference:
Here is the simple code for my buildspec.yml:

version: 0.2
phases:
  install:
    commands:
      - npm -v
      - node -v
Brut answered 16/11, 2017 at 21:49 Comment(1)
Did you find solution for this?Barbe

© 2022 - 2024 — McMap. All rights reserved.