отсутствует "модуль модуля" в сборке конвейера jenkins - PullRequest
0 голосов
/ 20 сентября 2019

У меня есть dockerfile, содержащий угловой раздел сборки, как показано ниже.

    RUN apt-get update && apt-get install -y curl
    RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
    RUN apt-get install -y nodejs

RUN npm config set registry https://shnexus0.sohard.de/repository/sedi.npm.development/
RUN npm i -g @angular/cli@latest
RUN npm install
RUN npm install -g typescript

В сборке конвейера jenkins я получаю сообщение об ошибке ниже.

error TS2307: Cannot find module '@angular/core'.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! dicom-web-viewer@0.0.0 tsc: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the dicom-web-viewer@0.0.0 tsc 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 в dockerfile.Это показывает ошибку для модуля узла.Заранее спасибо.

...