GithubHelp home page GithubHelp logo

gitbook-build-publish-action's Issues

fix: plugin anchor-navigation-ex dependency issue with [email protected]

[situation]
user ticket: onejar99/demo-build-and-publish-gitbook#2

When gitbook build, loading plugin anchor-navigation-ex will cause a weird crash and stick the process.
Reviewed dependency tree and discovered the [email protected] is the root cause. [email protected] was fine.

error:

root@659a36a58fc5:/gitbook# gitbook install
info: installing 5 plugins using [email protected]
info:
info: installing plugin "anchor-navigation-ex"
info: install plugin "anchor-navigation-ex" (*) from NPM with version 1.0.14
/gitbook
`-- [email protected]
  +-- [email protected]
  | +-- [email protected]
  | | +-- [email protected]
  | | +-- [email protected]
  | | +-- [email protected]
  | | `-- [email protected]
  | +-- [email protected]
  | | `-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | | +-- [email protected]
  | | +-- [email protected]
  | | `-- [email protected]
  | |   +-- [email protected]
  | |   | `-- [email protected]
  | |   `-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | `-- [email protected]
  +-- [email protected]
  `-- [email protected]

info: >> plugin "anchor-navigation-ex" installed with success
info:
info: installing plugin "edit-link"
runTopLevelLifecycles ->  / |##############################################################################################---|
/gitbook
+-- [email protected]
`-- [email protected]

info: >> plugin "edit-link" installed with success
info:
info: installing plugin "copy-code-button"
runTopLevelLifecycles ->  \ |##############################################################################################---|
/gitbook
+-- [email protected]
+-- [email protected]
`-- [email protected]

info: >> plugin "copy-code-button" installed with success
info:
info: installing plugin "theme-comscore"
runTopLevelLifecycles ->  \ |##############################################################################################---|
/gitbook
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

info: >> plugin "theme-comscore" installed with success
info:
info: installing plugin "ga"
runTopLevelLifecycles ->  / |##############################################################################################---|
/gitbook
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

info: >> plugin "ga" installed with success
root@659a36a58fc5:/gitbook# gitbook build
info: 12 plugins are installed
info: 11 explicitly listed
info: loading plugin "anchor-navigation-ex"... LIBERTY LIBERTY LIBERTY
LIBERTY LIBERTY LIBERTY
LIBERTY LIBERTY LIBERTY
                                   !             H|H|H|H|H           H__________________________________             H|§|§|§|H           H|* * * * * *|---------------------|             H|§|∞|§|H           H| * * * * * |---------------------|             H|§|§|§|H           H|* * * * * *|---------------------|             H|H|H|H|H           H| * * * * * |---------------------|             H|H|H|H|H           H|---------------------------------|          ===============        H|---------------------------------|            /| _   _ |          H|---------------------------------|            (| O   O |)          H|---------------------------------|            /|   U   |          H-----------------------------------             |  =/  |           H              _..._/            H              _|I/|_            H      _______/| H |/_______    H     /           / /          H    |          | | /         |  H    |          ||o||          |  H    |    |     ||o||     |    |  H    |    |     ||o||     |    |  H   Carl Pilcher
t̛͌̐̍̅ͣ͆̿͊̌͠ ҉͎̟͍̠̤͍̜͇̳̼̳̤̜̟̙̯̻̝ę̛͙͓͎̘̯̳̯̘̳͊̒̓̽̃̌͜͝s̴̡̳̞͚̹̃͒ͣ͂̏ͩͨͨͥ̒t̷̐̎̆̑ͬ̇̄̓̈̄̿ͩ̄̂̐̃͂̌ȋ̡̟̫̳͓͉̟̇ͨͣͮ̑̾̎̔̚̚͞n̴̨̧̠̭͕̉̾ͮͮͫ̓ͮ̑̈̂̾͜͡g̶̢̘̫̥̪̰̝̠͓̥̮ͯ͒̏͂͘͟ͅ ̷̵̼̻͍͉̜̘͖͓̓̒̇̍ͤͧ̈͜͞t̷̵̵͚̻͍̠̺̹̗̥̼̓͌ͮ͐͑̌ͅe̢͖̼͉͔̞̰͚̤͗ͬ̐̃ͫ͆͂̎̓̕s̶̪̖͙̱̬͖̖̒ͤ̽̽ͭ̑̆ͥ̀ͅͅt͌ͭͥ͌̑ͭͨ͋ͦ̃ͮͯ̊̀ͤ̈ͣ͊́ĭ̧̥͋͐͊̈͛ͯ̌̇̀̿̆̓̂̉̉̀n̶̡͈͉͕͉̟ͫͬͥ̂̀ͩ̿̉̾́́͢g̴̡̛̯͕̺̫̿̀ͫ͒ͩ͗ͫ̏̃ͧͪ́ ̵̢̝̦͕̯̗̠̗̩͖͎͐͂̂̀̋͛͊t̶̸̢̻̟̱̪̪͍̔̐̌́ͦ̃̌͑̾͜e̵̷̓̓ͭͥ̄ͨ͒̋̓ͪ̈̔͊̊́̈̕ṡ̓ͮ͌̆ͭ̅̀̀ͯ̔̓̎ͩͯͣ̆̽ͬţ̸̨̛͕̲̙̲̒̈͊ͯ̏̊͊ͭ͋͌̾i̡͉̬̹̞ͪ̑̈ͧ͒ͩ̈̒ͮ̌͗̄́͘nͧ̓̄̿͛̊ͧ̓͒͛̽̄ͦ̋ͯ̔̏͑͛gͣ̑ͥ̎̇̇̓̌̐̿ͣͪͫ͛ͨ͊̂ͬ̚ ̵̸̶̧ͮ̓̔̋͛͐̑ͦ̀̔̿̌ͨ ҉̫̖̟͉͍̦̳̩͖̫̥̲̩̭̤͉̖ͅt͎̣͔͓͇̤̩̫̘ͥ̉̌ͬ͂̈ͫ̀̚͘ȩ̢̛͕̣̣̦͚̬͎͆͒̈ͥͥͨͭ͂ͯs̙͇̺̯̈ͧ́ͦ́ͬ̐ͦ͂̆ͬ͂̈͘͟t̵̴̮̮͉͇̣̉ͤ̔ͥ̇̾̒̿̈̋̚ͅi̴͚͚̲̝̥̹̞̤̩̻͖ͣ̑͋̈ͣ͡ͅn̽̿ͦ̄́̆ͣ̈͐ͭͪ̊ͪ ҉̴̸͢ ҉͚͙͈̜̳̘̟̥̬̞̰̻̟̬̜͓̝͙ģ̷̢̜͙̞̖͖̤̗̯̖͕̈̃̈ͮ͘͢ ̨̬̼̬̣̋̐̒̈ͮ͗̉̓̋ͥ̏̃͑͘t̤͖̼͍̙̣̲̯̦̿̿̈̉͆͊̓́͘͝ȅ̵̢̢̡͎̱̻̈͌͐̑͌̋̎̆̔ͪ͛s̠͇̳̹̙̭͂͗̏̈̀ͥͦ̂ͥ̚̚͠͞t̴̛̬̫̥͕͇̲̥̍̇̂̂̔̂̐́͘͞i̽ͦ̎ͤͫͥ̽́̊͛̓̌ ҉͙͓͚͎̙̰̥̼̰͍̤͔̼͈̫̦̀ͅn̡̨̞͙̟͖͙͓̞̩̅ͯ͆ͨͬͥ͢͝͡g̢̢̊͌͆͆ͨ̅͛͜ ҉̙͖̤͚̗̯̬͓̩̣̺͍̺͉̰̜̖̙ ̸̨̜̣͖̿͐͒͗̊͒ͥ͑̅̏ͫ͗͢͡ẗ̡͂͑̋̂̂̌͂ͫ̀ͯ̃ͣͦ͗̎̌́ē̠ͭ͆̓̇͆̎̇̎͗̂̆ͣ̄̇̄͘͝s̴̢̩̼͎̭̹͚͒̑ͭͨ̑̿̈ͪ͢͡ͅt̨̟̮̖̲̳̰̯̑̒̑͌̊ͧ̈́̕͝ͅi̸ͨ̑̽̅́̏̇̎͒̒̃͂ͫͦ͌͝͞͡ņ̛̯̠̓͒̅̈ͫ̽ͣͮͤ̆̃̔̄̔͘g̶̶̡͚͙̱͉̾̏̏͗ͪͮ͌̿̈̋̀ͅ ̴̘͉ͨͣͬ̋̂̓̿̑ͦ͋̏ͪ͐̒́͜t̴̢ͥ͒͑͂͒͛͂ͭͥ̃͋ͮͭ̏͑̓͢e̠̳̟̣̝̰̼̹̲̜̰͍͕̽̔̿͊͜͠s̢̝̩̗̭̗̩̦̯̟̝ͩ̾̐̆͌̈́͢t̸̴̲͕̱̦͚͎̠̬ͩ͐̏̍ͣ̾̂̂͆ĭ̵̻̹͈̫͎͍̩̗̠̹̰̋ͦ̆͠ͅͅn̴̡̡͎͕͎̤̣̠̯̘ͤ͂ͦ̉͆ͪ̅ͣģͭ̏̔́̌̽̇̾̿ ҉̷̝̥̖̙̬̳̗̺͕̪̯̗͘Arraẏ̡̛̗̱̼͕̤ͮ̈ͦ͛͗͗ͪ͌ͮ̽ͧfunction(symbol) {
      var $a, self = this, $iter = TMP_5.$$p, block = $iter || nil, $splat_index = nil;

      var array_size = arguments.length - 1;
      if(array_size < 0) array_size = 0;
      var args = new Array(array_size);
      for($splat_index = 0; $splat_index < array_size; $splat_index++) {
        args[$splat_index] = arguments[$splat_index + 1];
      }
      TMP_5.$$p = null;
      return $scope.get('Kernel').$raise($scope.get('NoMethodError').$new((function() {if ((($a = self.$inspect && !self.$inspect.$$stub) !== nil && (!$a.$$is_boolean || $a == true))) {
        return "undefined method `" + (symbol) + "' for " + (self.$inspect()) + ":" + (self.$$class)
        } else {
        return "undefined method `" + (symbol) + "' for " + (self.$$class)
      }; return nil; })(), symbol));
    }̢͙̟̦͖͌̇̐͂̇ͣ͊ͪ͛̇̌͟͢͝function() {

cannot access '/gitbook/_book': No such file or directory

I got the error "cannot access '/gitbook/_book': No such file or directory" when building recently


info: create home.md
info: create setting.md
info: create SUMMARY.md
info: initialization is finished
info: installing 3 plugins using [email protected]
info:
info: installing plugin "anchor-navigation-ex"
info: install plugin "anchor-navigation-ex" (*) from NPM with version 1.0.14
/github/home/.gitbook/versions/3.2.3/node_modules/npm/node_modules/aproba/index.js:25
if (args[ii] == null) throw missingRequiredArg(ii)
^

Error: Missing required argument #1
at andLogAndFinish (/github/home/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:31:3)
at fetchPackageMetadata (/github/home/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:51:22)
at resolveWithNewModule (/github/home/.gitbook/versions/3.2.3/node_modules/npm/lib/install/deps.js:490:12)
at /github/home/.gitbook/versions/3.2.3/node_modules/npm/lib/install/deps.js:491:7
at /github/home/.gitbook/versions/3.2.3/node_modules/npm/node_modules/iferr/index.js:13:50
at /github/home/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:37:12
at addRequestedAndFinish (/github/home/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:67:5)
at returnAndAddMetadata (/github/home/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:121:7)
at pickVersionFromRegistryDocument (/github/home/.gitbook/versions/3.2.3/node_modules/npm/lib/fetch-package-metadata.js:138:20)
at /github/home/.gitbook/versions/3.2.3/node_modules/npm/node_modules/iferr/index.js:13:50 {
code: 'EMISSINGARG'
}
CMD=[gitbook init && gitbook install && gitbook build]
CMD_RESULT=[1]


Error: Command failed
ret=[0]
ls: cannot access '/gitbook/_book': No such file or directory
ret=[2]
Oops something wrong! exit code: 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.