From 5f8d48f2340d02d043666f2f578b763ca44b20ca Mon Sep 17 00:00:00 2001 From: hjp709394 Date: Tue, 28 Dec 2021 20:31:33 -0800 Subject: [PATCH] Update template.yaml Resolve error: npm ERR! cipm can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or later to generate it, then try again. --- template.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/template.yaml b/template.yaml index 3dd9a78..3868fca 100644 --- a/template.yaml +++ b/template.yaml @@ -203,6 +203,7 @@ Resources: preBuild: commands: - cd client + - npm install - npm ci build: commands: