You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/18 13:31:41 UTC

[GitHub] [pulsar] Jennifer88huang opened a new issue #7594: [website] Need license field for the `package.json` file

Jennifer88huang opened a new issue #7594:
URL: https://github.com/apache/pulsar/issues/7594


   **Describe the bug**
   When we run "yarn start" as suggested in [readme](https://github.com/apache/pulsar/tree/master/site2#run-the-site-locally), the following error occurs.
   
   
   Jennifers-MacBook-Pro:website jenniferhuang$ yarn test
   yarn run v1.15.2
   warning package.json: No license field
   $ jest --detectOpenHandles
    FAIL  __tests__/doc-links.test.js
     ✕ markdown doc links (89ms)
   
     ● markdown doc links
   
       expect(received).toBe(expected) // Object.is equality
   
       Expected: 0
       Received: 1
   
         40 |     const errorMessage = `Found the following broken links in docs pages:\n${brokenLinksJson}`
         41 |     console.log(errorMessage);
       > 42 |     expect(mdBrokenLinks.length).toBe(0)
            |                                  ^
         43 |   }
         44 | })
         45 | 
   
         at Object.<anonymous>.test (__tests__/doc-links.test.js:42:34)
   
     console.log __tests__/doc-links.test.js:41
       Found the following broken links in docs pages:
       [
         {
           "page": "deploy-monitoring.md",
           "brokenLinks": [
             "kubernetes-helm.md"
           ]
         }
       ]
   
   Test Suites: 1 failed, 1 total
   Tests:       1 failed, 1 total
   Snapshots:   0 total
   Time:        1.158s
   Ran all test suites.
   error Command failed with exit code 1.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
   Jennifers-MacBook-Pro:website jenniferhuang$ yarn build
   yarn run v1.15.2
   warning package.json: No license field
   $ docusaurus-build
   [BABEL] Note: The code generator has deoptimised the styling of /Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/docusaurus/lib/core/metadata.js as it exceeds the max of 500KB.
   generate.js triggered...
   [WARN] unresolved links in file 'deploy-monitoring.md' > [ 'kubernetes-helm.md' ]
   Error: Invalid code tab markdown
       at forEach (/Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:104:15)
       at Array.forEach (<anonymous>)
       at splitTabsToTitleAndContent (/Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:30:9)
       at replace (/Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:190:14)
       at String.replace (<anonymous>)
       at Doc.renderContent (/Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:160:20)
       at Doc.render (/Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:247:32)
       at processChild (/Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/react-dom/cjs/react-dom-server.node.development.js:3134:18)
       at resolve (/Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5)
       at ReactDOMServerRenderer.render (/Users/jenniferhuang/GitHub/pulsar/site2/website/node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22)
   error Command failed with exit code 1.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
   
   
   **Desktop (please complete the following information):**
    - OS: [iOS]
   
   **Additional context**
   yarn version: v1.15.2


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Jennifer88huang closed issue #7594: [website] Need license field for the `package.json` file

Posted by GitBox <gi...@apache.org>.
Jennifer88huang closed issue #7594:
URL: https://github.com/apache/pulsar/issues/7594


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org