Hello,
I'm not sure if the issue belongs here to this side, but since the latest updates Nuxt
is not deploying with Now
any longer. This are my configurations:
nuxt.config.json
module.exports = {
cache: true,
build: {
vendor: [
'isomorphic-fetch',
'apollo-client',
'graphql-tag',
'vue-i18n',
'vuex-router-sync',
'vuetify',
'axios'
]
},
(...)
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"lint": "eslint --ext .js,.vue ./*.js store plugins pages components layouts",
"syncschema": "https://api.graph.cool/simple/v1/ciwyoxmas3amt0129hec6zpvl -i"
},
"dependencies": {
"apollo-client": "0.7.3",
"axios": "0.15.3",
"eslint": "3.13.1",
"graphql-tag": "1.2.3",
"isomorphic-fetch": "2.2.1",
"lodash": "4.17.4",
"nuxt": "0.9.6",
"slugify": "1.1.0",
"vue-apollo": "1.3.0",
"vue-i18n": "4.10.0",
"vuetify": "0.8.6",
"vuex-router-sync": "4.1.1"
},
"devDependencies": {
"babel-eslint": "7.1.1",
"eslint": "3.13.1",
"eslint-plugin-html": "1.7.0",
"gql-tools": "0.0.14",
"graphql": "^0.8.2",
"less": "2.7.2",
"less-loader": "2.2.3"
},
The error I receive while building:
▲ npm install
> ‣ slugify@1.1.0
> ‣ vue-i18n@4.10.0
> ‣ vue-apollo@1.3.0
> ✓ Using "yarn.lock"
> ‣ axios@0.15.3
> ‣ apollo-client@0.7.3
> ‣ graphql@^0.8.2
> ‣ lodash@4.17.4
> ‣ vuex-router-sync@4.1.1
> Internal Server Error
> ▲ npm install
> Installing package vue-i18n@4.10.0
> Installing package graphql@^0.8.2
> Installing package babel-eslint@7.1.1
> Installing package eslint-plugin-html@1.7.0
> Installing package less@2.7.2
> Installing package less-loader@2.2.3
> Installing package eslint@3.13.1
> Installing package isomorphic-fetch@2.2.1
> Installing package vuex-router-sync@4.1.1
> Installing package gql-tools@0.0.14
> (node:71) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, readlink '/home/nowuser/src/node_modules/.tmp/893199eb-3ea7-443f-a622-3b9ae1f9b363/node_modules/node-pre-gyp'
> (node:71) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
> node-pre-gyp info using node-pre-gyp@0.6.32
> node-pre-gyp info check checked for "/home/nowuser/src/node_modules/f11591077d80dde47978baad7caa7fb6f18c95b6/lib/binding/Release/node-v51-linux-x64/fse.node" (not found)
> node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v51-linux-x64.tar.gz
> node-pre-gyp info it worked if it ends with ok
> node-pre-gyp info using node@7.0.0 | linux | x64
> node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v51-linux-x64.tar.gz
> node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.17 and node@7.0.0 (node-v51 ABI) (falling back to source compile with node-gyp)
> node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v51-linux-x64.tar.gz
> node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v51-linux-x64.tar.gz
Does anybody experience similar issue?
<!--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/c127">#c127</a>)</em></sub></div>