npm run build
is successful. layer0 build
fails with:
Bundling Layer0 router… done.
TypeError: _b.forEach is not a function
at /Users/howie.ross/Repos/howies-www/node_modules/@layer0/core/deploy/DeploymentBuilder.js:338:126
at Array.forEach ()
at DeploymentBuilder.build (/Users/howie.ross/Repos/howies-www/node_modules/@layer0/core/deploy/DeploymentBuilder.js:336:18)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async build (/Users/howie.ross/Repos/howies-www/node_modules/@layer0/sapper/build.js:51:5)
at async /Users/howie.ross/Repos/howies-www/node_modules/@layer0/cli/utils/build.js:40:5
at async Logger.step (/Users/howie.ross/Repos/howies-www/node_modules/@layer0/cli/utils/logger.js:47:20)
at async build (/Users/howie.ross/Repos/howies-www/node_modules/@layer0/cli/utils/build.js:38:3)
at async Object.exports.handler (/Users/howie.ross/Repos/howies-www/node_modules/@layer0/cli/commands/build.js:24:3)
Source: