Hey there I'm having some issue while deploying my nuxt project to now
.
I'm posting to now.sh as well to see if they can assist, I can't create the error locally, only while deploying.
The repo to project I'm speaking of can be found here: https://github.com/devanflaherty/milleniaoffice.com
So around 8 hours ago I deployed the above repo to now, and it succeeded. Moments later I modified a few files, nothing intensive, and then went to deploy again.
Kept failing during the build. SO I tried some things.
A few time randomly I'd get EsLint errors for a few components. For some reason the back-tick in my template literals were causing issues. SO I removed those. Still nothing. I don't get the EsLint errors but it still doesn't build.
So low and behold, this is the error I keep getting:
Ran with now -d
> Deploying ~/Repositories/millenia under hello@devanflaherty.com
> [debug] Detected `deploymentType` = `npm`
> [debug] Detected `deploymentName` = "millenia"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/.DS_Store"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/.git"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/.gitignore"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/.nuxt"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/dist"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/node_modules"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/static/.DS_Store"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/static/pano/.DS_Store"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/static/pano/assets/.DS_Store"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/static/pano/assets/panos/.DS_Store"
> [debug] locating files /Users/devanflaherty/Repositories/millenia: 7.440ms
> [debug] Getting files: 9.120ms
> [debug] Computing hashes: 144.651ms
> [debug] get files ready for deployment: 3.320ms
> [debug] v2/now/deployments: 3246.175ms
> Using Node.js 9.2.1 (requested: `>8.1.x`)
> Ready! https://millenia-rmdkschhqx.now.sh (copied to clipboard) [3s]
> You (hello@devanflaherty.com) are on the OSS plan. Your code and logs will be made public.
> NOTE: You can use `now --public` to skip this prompt
> Initializing…
> Error! The build step of your project failed. To retry, run `now --force`.
millenia master ✗ 6h28m ✖ △ ⍉ -> now -d
> Deploying ~/Repositories/millenia under hello@devanflaherty.com
> [debug] Detected `deploymentType` = `npm`
> [debug] Detected `deploymentName` = "millenia"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/.DS_Store"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/.git"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/.gitignore"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/.nuxt"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/dist"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/node_modules"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/static/.DS_Store"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/static/pano/.DS_Store"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/static/pano/assets/.DS_Store"
> [debug] ignoring "/Users/devanflaherty/Repositories/millenia/static/pano/assets/panos/.DS_Store"
> [debug] locating files /Users/devanflaherty/Repositories/millenia: 7.690ms
> [debug] Getting files: 9.496ms
> [debug] Computing hashes: 138.464ms
> [debug] get files ready for deployment: 3.434ms
> [debug] v2/now/deployments: 2038.909ms
> Using Node.js 9.2.1 (requested: `>8.1.x`)
> Ready! https://millenia-ykqckoyncw.now.sh (copied to clipboard) [2s]
> You (hello@devanflaherty.com) are on the OSS plan. Your code and logs will be made public.
> NOTE: You can use `now --public` to skip this prompt
> Initializing…
> Building
> ▲ npm install
> ✓ Using "yarn.lock"
> ⧗ Installing 35 main dependencies…
> ✓ Installed 1213 modules [8s]
> ▲ npm run build
> > millenia@0.0.1 build /home/nowuser/src
> > nuxt build
> 2017-12-30T08:40:58.347Z nuxt:build Building...
> Sat, 30 Dec 2017 08:40:58 GMT nuxt:pwa Adding icons
> Sat, 30 Dec 2017 08:40:58 GMT nuxt:pwa static/icon.png not found! Please create one or disable icon module.
> Sat, 30 Dec 2017 08:40:58 GMT nuxt:pwa Adding manifest
> Manifest meta already provided!
> Sat, 30 Dec 2017 08:40:58 GMT nuxt:pwa Adding meta
> Sat, 30 Dec 2017 08:40:58 GMT nuxt:pwa Adding workbox
> 2017-12-30T08:40:58.722Z nuxt:build App root: /home/nowuser/src
> 2017-12-30T08:40:58.722Z nuxt:build Generating /home/nowuser/src/.nuxt files...
> 2017-12-30T08:40:58.755Z nuxt:build Generating files...
> 2017-12-30T08:40:58.764Z nuxt:build Generating routes...
> 2017-12-30T08:40:58.787Z nuxt:build Building files...
> Killed
> npm ERR! code ELIFECYCLE
> npm ERR! errno 137
> npm ERR! millenia@0.0.1 build: `nuxt build`
> npm ERR! Exit status 137
> npm ERR!
> npm ERR! Failed at the millenia@0.0.1 build script.
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
> npm ERR! A complete log of this run can be found in:
> npm ERR! /home/nowuser/.npm/_logs/2017-12-30T08_41_24_443Z-debug.log
> Error! The build step of your project failed. To retry, run `now --force`.
Also here is the initial working deployment: https://milleniaoffice.now.sh
Please help if you can.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2153">#c2153</a>)</em></sub></div>