Coder Social home page Coder Social logo

Comments (4)

joshuali925 avatar joshuali925 commented on August 16, 2024

@samuelruiz2020 thanks for adding an issue. dist is part of the repo: https://github.com/opensearch-project/OpenSearch-Dashboards/tree/2.11.0/packages/osd-pm/dist

you can check under /builds/occne/opensearch-dashboard-mirror/packages/osd-pm/dist, does it actually exist? and could you also add the output of git status?

from opensearch-dashboards.

samuelruiz2020 avatar samuelruiz2020 commented on August 16, 2024

hi @joshuali925 Thanks for support. The packages/osd-pm/dist path and index.js file did not exist because push rules in my gitlab repo, It was solved. Now, the issue is that i am using a corporate yarn registry and it is stuck when resolving packages, how can i fix it?, because not very clear if i need to use encodeURIComponent() or encodeURI() and where to use it

$ scripts/use_node scripts/osd bootstrap
 info [opensearch-dashboards] running yarn
$ scripts/use_node ./preinstall_check
[1/5] Validating package.json...
[2/5] Resolving packages...
error TypeError [ERR_UNESCAPED_CHARACTERS]: https://artifactory/api/npm/global-dev-npm/œdist: Request path contains unescaped characters
    at new NodeError (node:internal/errors:399:5)
    at new ClientRequest (node:_http_client:184:13)
    at Object.request (node:https:360:10)
    at module.exports.Request.start (/usr/lib/node_modules/yarn/lib/cli.js:141972:32)
    at module.exports.Request.end (/usr/lib/node_modules/yarn/lib/cli.js:142731:10)
    at end (/usr/lib/node_modules/yarn/lib/cli.js:141785:14)
    at Immediate.<anonymous> (/usr/lib/node_modules/yarn/lib/cli.js:14[179](https://cloudlab.us.oracle.com/occne/opensearch-dashboard-mirror/-/jobs/63831169#L179)9:7)
    at process.processImmediate (node:internal/timers:476:21)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR [bootstrap] failed:
ERROR Error: Command failed with exit code 1: /usr/lib/node_modules/yarn/bin/yarn.js install --non-interactive
          at makeError (/builds/occne/opensearch-dashboard-mirror/packages/osd-pm/dist/index.js:26834:11)
          at handlePromise (/builds/occne/opensearch-dashboard-mirror/packages/osd-pm/dist/index.js:25770:26)
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
          at async installInDir (/builds/occne/opensearch-dashboard-mirror/packages/osd-pm/dist/index.js:25493:3)
          at async Project.installDependencies (/builds/occne/opensearch-dashboard-mirror/packages/osd-pm/dist/index.js:15231:5)
          at async Object.run (/builds/occne/opensearch-dashboard-mirror/packages/osd-pm/dist/index.js:9[188](https://cloudlab.us.oracle.com/occne/opensearch-dashboard-mirror/-/jobs/63831169#L188):11)
          at async runCommand (/builds/occne/opensearch-dashboard-mirror/packages/osd-pm/dist/index.js:58240:5)
          at async Object.run (/builds/occne/opensearch-dashboard-mirror/packages/osd-pm/dist/index.js:278:3)
error Command failed with exit code 1. 

from opensearch-dashboards.

samuelruiz2020 avatar samuelruiz2020 commented on August 16, 2024

Ignore it , i fixed it, it was a dependency defined wrongly in package.json file , my bad. Thanks for support again. You can close it.

from opensearch-dashboards.

zhyuanqi avatar zhyuanqi commented on August 16, 2024

Close the issue has it has been resolved.

from opensearch-dashboards.

Related Issues (20)

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.