locked
After branching I get a JavaScript error RRS feed

  • Question

  • User-146938715 posted

    Hello,

    I branched my website code first time with team foundation server. After branching, I get a JavaScript Error in Chrome console. I cannot figure out what I should to do to fix the problem. I dont find any file in solution to resolve the problem. Can someone help me to fix it?

    ..\..\external "vend98dd79ef0a035831":Uncaught ReferenceError: vendor_b56098dd79ef0a035831 is not defined at Object.defineProperty.value (..\..\external "vend98dd79ef0a035831":1) at __webpack_require__ (bootstrap ffd3ada:657) at fn (bootstrap ffd3ada:85) at Object.setPrototypeOf.__proto__ (eventsource.js from 098dd79ef0a035831:1) at __webpack_require__ (bootstrap ffd3ada:657) at fn (bootstrap ffd3ada:85) at Object.<anonymous> (main-client.js?v=4OIvqlyA5iVQbzgk:82214) at __webpack_require__ (bootstrap ffd3ada:657) at Object.defineProperty.value (bootstrap ffd3ada:706) at bootstrap ffd3ada:706

    Object.defineProperty.value @ ..\..\external "vend98dd79ef0a035831":1
    __webpack_require__ @ bootstrap ffd3ada:657
    fn @ bootstrap ffd3ada:85
    Object.setPrototypeOf.__proto__ @ eventsource.js from 098dd79ef0a035831:1
    __webpack_require__ @ bootstrap ffd3ada:657
    fn @ bootstrap ffd3ada:85
    (anonymous) @ main-client.js?v=4OIvqlyA5iVQbzgk:82214
    __webpack_require__ @ bootstrap ffd3ada:657
    Object.defineProperty.value @ bootstrap ffd3ada:706
    (anonymous) @ bootstrap ffd3ada:706

    Friday, December 22, 2017 10:09 AM

All replies

  • User475983607 posted

    It looks like you are using webpack and webpack can no longer find bootstrap file probably related to your vendor file.   It is not clear what source control you are using but perhaps you can simply merge from the first branch into the new branch.  Have you tried loading the original branch and see if the  code work as expected?  Maybe you branched into a new folder and webpack can not longer find the npm files?

    Seems unlikely that branching would cause this but it is unclear what you're using for source control?  Perhaps just go back to a code version when the webpack configuration was working.  Then go forward from there.  That's the reason we use source control so if things get out of sorts we can go back to a code version that works properly.

    Friday, December 22, 2017 2:35 PM
  • User-832373396 posted

    Hi UrielMhezzek,

    Sir, I suggest that you could post the question to Official TFS Forums at https://developercommunity.visualstudio.com/spaces/22/index.html so that get professional answer;

    With regards, Angelina Jolie

    Tuesday, December 26, 2017 9:31 AM