Skip to content

./scripts/node.start.sh failed #1

Description

@sub-mod

`▶ ./scripts/node.start.sh
Sending build context to Docker daemon 1.016MB
Step 1/9 : FROM node:14-alpine
---> c1babb15a629
Step 2/9 : WORKDIR /usr/src/app
---> Using cache
---> 833b434765f4
Step 3/9 : COPY package*.json /usr/src/app/
---> Using cache
---> ce1de5e6718f
Step 4/9 : RUN apk add git
---> Using cache
---> 2a2289000b79
Step 5/9 : RUN npm install
---> Using cache
---> 50ff15e389c6
Step 6/9 : COPY . .
---> Using cache
---> de88ceca0cba
Step 7/9 : USER node
---> Using cache
---> 042337c4b51a
Step 8/9 : EXPOSE 3001
---> Using cache
---> 13fa4e6a9fe2
Step 9/9 : CMD npm run dev
---> Using cache
---> 856bf151d407
Successfully built 856bf151d407
Successfully tagged summit-admin-hq-refresh:latest

2021-game-admin-hq@1.0.0 dev /usr/src/app
LOG_LEVEL=trace NODE_ENV=dev ADMIN_USERNAME=admin ADMIN_PASSWORD=password nodemon -e ts,hbs -x ts-node src/index.ts | pino-pretty -t

sh: nodemon: not found
sh: pino-pretty: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! 2021-game-admin-hq@1.0.0 dev: LOG_LEVEL=trace NODE_ENV=dev ADMIN_USERNAME=admin ADMIN_PASSWORD=password nodemon -e ts,hbs -x ts-node src/index.ts | pino-pretty -t
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the 2021-game-admin-hq@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2021-02-15T22_29_22_789Z-debug.log`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions