My git yml
image: node:10
cache:
paths:
- node_modules/stages:
- build
- start
- deploy
firstjob:
stage: build
script:
- npm install
- npm run build
- npm run start &
artifacts:
paths:
- node_modules/secondjob:
stage: start
script:
- node --version
- npm --versionpages:
stage: deploy
script:
- echo ‘Nothing to do…’
artifacts:
paths:
- public/
only:- master
$ npm install
npm WARN @iamstarkov/listr-update-renderer@0.4.1 requires a peer of listr@^0.14.2 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-react-app@3.0.6 requires a peer of babel-eslint@9.x but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-react-app@3.0.6 requires a peer of eslint-plugin-flowtype@2.x but none is installed. You must install peer dependencies yourself.
npm WARN html-to-react@1.3.4 requires a peer of react@^16.0 but none is installed. You must install peer dependencies yourself.
npm WARN next@7.0.2 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN next@7.0.2 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN next-seo@1.9.0 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN next-seo@1.9.0 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-clipboard.js@2.0.2 requires a peer of react@>=15.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-dom@16.8.0-alpha.0 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-markdown@4.0.6 requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN styled-components@4.1.3 requires a peer of react@>= 16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN styled-components@4.1.3 requires a peer of react-dom@>= 16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN styled-jsx@3.1.0 requires a peer of react@15.x.x || 16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})audited 15715 packages in 10.246s
found 0 vulnerabilities$ npm run build
> ewfbn@0.1.0 build /builds/sentar/sentarcom
> next buildsh: 1: next: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! ewfbn@0.1.0 build:next build
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the ewfbn@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.