mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-23 18:54:30 +01:00
It seems that the issue with not being able to find webpack-cli is due to some behavior with an older version of npm. My local devel- opment environment has npm 7.6.x and so does the Node.js 15 conta- iner, while the Node.js 12 and 14 containers have npm 6.14.x. Updating npm fixes the issue with `npx webpack` not being able to find webpack-cli's webpack command (perhaps it installs the peer dependency automatically, I don't know).
This commit is contained in:
parent
72fe18fd4d
commit
7a2ac26879
@ -6,6 +6,9 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: node:12-alpine
|
image: node:12-alpine
|
||||||
commands:
|
commands:
|
||||||
|
- npm --version
|
||||||
|
- npm install -g npm
|
||||||
|
- npm --version
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
@ -18,6 +21,9 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: node:14-alpine
|
image: node:14-alpine
|
||||||
commands:
|
commands:
|
||||||
|
- npm --version
|
||||||
|
- npm install -g npm
|
||||||
|
- npm --version
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
@ -30,5 +36,8 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: node:15-alpine
|
image: node:15-alpine
|
||||||
commands:
|
commands:
|
||||||
|
- npm --version
|
||||||
|
- npm install -g npm
|
||||||
|
- npm --version
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
Loading…
Reference in New Issue
Block a user