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 "vend…98dd79ef0a035831":Uncaught
ReferenceError: vendor_b56098dd79ef0a035831 is not defined at Object.defineProperty.value (..\..\external "vend…98dd79ef0a035831":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=4OI…vqlyA5iVQbzgk:82214)
at __webpack_require__ (bootstrap ffd3ada…:657) at Object.defineProperty.value
(bootstrap ffd3ada…:706) at
bootstrap ffd3ada…:706
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.
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
11 Points
32 Posts
After branching I get a JavaScript error
Dec 22, 2017 10:09 AM|UrielMhezzek|LINK
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 "vend…98dd79ef0a035831":
All-Star
53641 Points
24004 Posts
Re: After branching I get a JavaScript error
Dec 22, 2017 02:35 PM|mgebhard|LINK
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.
Contributor
5290 Points
2307 Posts
Re: After branching I get a JavaScript error
Dec 26, 2017 09:31 AM|AngelinaJolie|LINK
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
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.