Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

gitlab deployment issue #65

Open
AbhimanyuAryan opened this issue Nov 21, 2018 · 0 comments
Open

gitlab deployment issue #65

AbhimanyuAryan opened this issue Nov 21, 2018 · 0 comments

Comments

@AbhimanyuAryan
Copy link

I was deploying this pack to Gitlab. The only changes I did was to add gitlab configuration file and add pathPrefix

Every Started pack seems to have this issue. I tried deploying default starter Gatsby and it works fine & is deployed.

Can you look into this problem a bit? Thanks

Running with gitlab-runner 11.5.0-rc1 (e900028d)
  on docker-auto-scale fa6cab46
Using Docker executor with image node:latest ...
Pulling docker image node:latest ...
Using docker image sha256:3487fb1e4deee97c1b9db2d95fae623e9489e9f3d77baddb4e14a21086d83040 for node:latest ...
Running on runner-fa6cab46-project-9525754-concurrent-0 via runner-fa6cab46-srm-1542778324-8eb020ee...
Cloning repository...
Cloning into '/builds/abhimanyuaryan/aryanblog'...
Checking out 75cad56f as master...
Skipping Git submodules setup
Checking cache for default...
FATAL: file does not exist                         
Failed to extract cache
$ npm install
npm WARN deprecated [email protected]: 'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/
npm WARN deprecated [email protected]: Switch to the `bfj` package for fixes and new features!
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

> [email protected] install /builds/abhimanyuaryan/aryanblog/node_modules/deasync
> node ./build.js

`linux-x64-node-11` exists; testing
Binary is fine; exiting

> [email protected] install /builds/abhimanyuaryan/aryanblog/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.0/libvips-8.7.0-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=11.2.0 runtime=node arch=x64 platform=linux)
make: Entering directory '/builds/abhimanyuaryan/aryanblog/node_modules/sharp/build'
  TOUCH Release/obj.target/libvips-cpp.stamp
  CXX(target) Release/obj.target/sharp/src/common.o
In file included from ../src/common.cc:24:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/common.cc:22:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/metadata.o
In file included from ../src/metadata.cc:19:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/metadata.cc:18:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/stats.o
In file included from ../src/stats.cc:20:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/stats.cc:19:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/operations.o
In file included from ../src/common.h:23:0,
                 from ../src/operations.cc:23:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/common.h:22,
                 from ../src/operations.cc:23:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/pipeline.o
In file included from ../src/pipeline.cc:27:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/pipeline.cc:26:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/sharp.o
In file included from ../src/sharp.cc:16:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/sharp.cc:15:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/utilities.o
In file included from ../src/utilities.cc:19:0:
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/utilities.cc:18:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  SOLINK_MODULE(target) Release/obj.target/sharp.node
  COPY Release/sharp.node
make: Leaving directory '/builds/abhimanyuaryan/aryanblog/node_modules/sharp/build'

> [email protected] install /builds/abhimanyuaryan/aryanblog/node_modules/sharp-cli/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.6.1/libvips-8.6.1-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=11.2.0 runtime=node arch=x64 platform=linux)
make: Entering directory '/builds/abhimanyuaryan/aryanblog/node_modules/sharp-cli/node_modules/sharp/build'
  TOUCH Release/obj.target/libvips-cpp.stamp
  CXX(target) Release/obj.target/sharp/src/common.o
In file included from ../src/common.cc:24:0:
../../../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/common.cc:22:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/metadata.o
In file included from ../src/metadata.cc:19:0:
../../../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/metadata.cc:18:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/stats.o
In file included from ../src/stats.cc:20:0:
../../../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/stats.cc:19:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/operations.o
In file included from ../src/common.h:23:0,
                 from ../src/operations.cc:23:
../../../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/common.h:22,
                 from ../src/operations.cc:23:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/pipeline.o
In file included from ../src/pipeline.cc:27:0:
../../../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/pipeline.cc:26:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/sharp.o
In file included from ../src/sharp.cc:16:0:
../../../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/sharp.cc:15:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/sharp/src/utilities.o
In file included from ../src/utilities.cc:19:0:
../../../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../../../../nan/nan.h:1064:78: warning: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /root/.node-gyp/11.2.0/include/node/v8.h:26:0,
                 from /root/.node-gyp/11.2.0/include/node/node.h:63,
                 from ../src/utilities.cc:18:
/root/.node-gyp/11.2.0/include/node/v8.h:2538:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.node-gyp/11.2.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  SOLINK_MODULE(target) Release/obj.target/sharp.node
  COPY Release/sharp.node
make: Leaving directory '/builds/abhimanyuaryan/aryanblog/node_modules/sharp-cli/node_modules/sharp/build'

> [email protected] postinstall /builds/abhimanyuaryan/aryanblog/node_modules/cwebp-bin
> node lib/install.js

  ✔ cwebp pre-build test passed successfully

> [email protected] postinstall /builds/abhimanyuaryan/aryanblog/node_modules/mozjpeg
> node lib/install.js

  ✔ mozjpeg pre-build test passed successfully

> [email protected] postinstall /builds/abhimanyuaryan/aryanblog/node_modules/pngquant-bin
> node lib/install.js

  ✔ pngquant pre-build test passed successfully
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of styled-jsx@^3.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@^15.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@^4.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@>= 0.32.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 2732 packages from 1384 contributors and audited 45622 packages in 119.035s
found 4 moderate severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
$ ./node_modules/.bin/gatsby build --prefix-paths
error We encountered an error while trying to load your site's gatsby-config. Please fix the error and try again.


  Error: Cannot find module './content/meta/config'
  
  - loader.js:603 Function.Module._resolveFilename
    internal/modules/cjs/loader.js:603:15
  
  - loader.js:529 Function.Module._load
    internal/modules/cjs/loader.js:529:25
  
  - loader.js:658 Module.require
    internal/modules/cjs/loader.js:658:17
  
  - v8-compile-cache.js:159 require
    [aryanblog]/[v8-compile-cache]/v8-compile-cache.js:159:20
  
  - gatsby-config.js:2 Object.<anonymous>
    /builds/abhimanyuaryan/aryanblog/gatsby-config.js:2:16
  
  - v8-compile-cache.js:178 Module._compile
    [aryanblog]/[v8-compile-cache]/v8-compile-cache.js:178:30
  
  - loader.js:733 Object.Module._extensions..js
    internal/modules/cjs/loader.js:733:10
  
  - loader.js:620 Module.load
    internal/modules/cjs/loader.js:620:32
  
  - loader.js:560 tryModuleLoad
    internal/modules/cjs/loader.js:560:12
  
  - loader.js:552 Function.Module._load
    internal/modules/cjs/loader.js:552:3
  
  - loader.js:658 Module.require
    internal/modules/cjs/loader.js:658:17
  
  - v8-compile-cache.js:159 require
    [aryanblog]/[v8-compile-cache]/v8-compile-cache.js:159:20
  
  - get-config-file.js:33 
    [aryanblog]/[gatsby]/dist/bootstrap/get-config-file.js:33:22
  
  - Generator.next
  

ERROR: Job failed: exit code 1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant