GithubHelp home page GithubHelp logo

Comments (4)

GiladShoham avatar GiladShoham commented on May 27, 2024

Please run it again then attach the debug.log. You can find its location by running bit globals command

from bit.

itaymendel avatar itaymendel commented on May 27, 2024

hi, where did you get the syntax to add @ for the scope name?
please run

bit lane create my-lane --scope ichigo-kurosaki.my-first-lane

also, if you have defaultScope set in your workspace.jsonc, the lane create command will use it by default.

from bit.

dzakki avatar dzakki commented on May 27, 2024

Please run it again then attach the debug.log. You can find its location by running bit globals command

here the log bro @GiladShoham

MacBook-Pro-2 lane % bit lane create my-lane --scope ichigo-kurosaki.my-first-lane  --log
*** Loading Bit *** argv:
/Users/learn/.bvm/nodejs/20.10.0/bin/node
/Users/learn/.bvm/links/bit/node_modules/@teambit/bit/bin/bit
lane
create
my-lane
--scope
ichigo-kurosaki.my-first-lane
--log
[*] started a new command: "create" with the following data:
    args: [
      "my-lane"
    ]
    flags: {
      "scope": "ichigo-kurosaki.my-first-lane",
      "log": true,
      "lane-name": "my-lane",
      "laneName": "my-lane"
    }
got an error from command create: TypeError: Cannot read properties of undefined (reading 'legacyScope')
    err: {
      "type": "TypeError",
      "message": "Cannot read properties of undefined (reading 'legacyScope')",
      "stack":
          TypeError: Cannot read properties of undefined (reading 'legacyScope')
              at createLaneInScope (/Users/learn/.bvm/versions/1.5.13/bit-1.5.13/node_modules/@teambit/lanes/dist/create-lane.js:115:29)
              at LanesMain.createLane (/Users/learn/.bvm/versions/1.5.13/bit-1.5.13/node_modules/@teambit/lanes/dist/lanes.main.runtime.js:414:65)
              at LaneCreateCmd.report (/Users/learn/.bvm/versions/1.5.13/bit-1.5.13/node_modules/@teambit/lanes/dist/lane.cmd.js:230:37)
              at async CommandRunner.runReportHandler (/Users/learn/.bvm/versions/1.5.13/bit-1.5.13/node_modules/@teambit/cli/dist/command-runner.js:157:20)
              at async CommandRunner.runCommand (/Users/learn/.bvm/versions/1.5.13/bit-1.5.13/node_modules/@teambit/cli/dist/command-runner.js:98:16)
    }
Cannot read properties of undefined (reading 'legacyScope')
[+] CLI-OUTPUT: Cannot read properties of undefined (reading 'legacyScope')
[*] the command "create" has been terminated with an error code 1

from bit.

dzakki avatar dzakki commented on May 27, 2024

hi, where did you get the syntax to add @ for the scope name? please run

@itaymendel i tried by removing the @ but still not working.

at that case i want to create a new scope for my lane, so i dont need to use defaulf scope, right ?

from bit.

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.