Error while trying to debug demandware pipeline code using eclipse - salesforce

After setting up the configuration for pipeline and clicking on debug in eclipse, I get this error.
Errors occurred during the build.
Errors running builder 'Digital Server Upload' on project 'DigitalServer'.
Tree element '/' not found.

If you don’t need to edit Pipelines, I recommend VS Code with the Prophet plugin. Check it out on the VS Code plugin marketplace.
https://marketplace.visualstudio.com/items?itemName=SqrTT.prophet

Check the project references (right click > Properties > Project References) of your connection to the instance. You likely have a closed or missing cartridge project referenced there. Once you remove this reference, the error will be gone.

Related

Chrome dev tools not mapping ts source

My chrome dev tools suddenly stopped mapping the .ts sources hence causing issues with debugging. When I load a js file I am getting a hint saying "Source Map detected". Further down the message says "Associated files are available via file tree or Ctrl+P". However, i dont see these files in the tree nor by Ctrl+P. For clarity the "Enable Javasript source maps" in the settings is Enabled. Same exactly codeset on another machine working properly. What could be an issue?
You can use Debugging Typescript in Visual Studio Code and Chrome as a debugging tool with sourceMaps.

Only 'amd' and 'system' modules are supported alongside --out error in visual studio 2015

I want to combine Angularjs and TypeScript in a asp.net web api, so I try this blog post: LINK
when I run my application I encounter whit this error:
Error Build:Only 'amd' and 'system' modules are supported alongside --out.
I tried this post and install both of Microsoft.TypeScript.MSBuild and Microsoft.TypeScript.Compiler, but it still stops with that error.
so I try this post, but I don't know how to modify tsconfig.json because it uses visual studio code and I use visual studio 2015.
can you help me?
thanks
Choose "none" in the TypeScript module type under the project (.csproj) properties -> TypeScript Build.
In Visual Studio 2015, the TypeScript Build tap seems to have an issue. When selecting "none", it does not always work. I got it to work by unloading the project and editing the following entry manually in the .csproj file.
<TypeScriptTarget>ES5</TypeScriptTarget>
<TypeScriptJSXEmit>None</TypeScriptJSXEmit>
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
<TypeScriptModuleKind>None</TypeScriptModuleKind> <----- Set this value to None
<TypeScriptRemoveComments>False</TypeScriptRemoveComments>

Issues with converting project to angularJS on eclipse

I am trying to get one of my angularJS project to work on eclipse. I have downloaded the angularJS plugins for eclipse, Started a Dynamic Web Project, and copied all my files into that folder. Now when I right click on the project and got to: Configure -> Convert to AngularJS Project, I get the Following error:
"Converting to angular project has encountered a problem..". Apparently, an internal error an whe I click details the it shows a problem with- tern/server/TernPlugin.angular1
And now every time I try to access any file from that project through the workspace this error jumps up:
'Synchronizing script resources with Tern server...' has encountered a problem
So basically I cannot convert my project to AngularJS. Anyone ever has similar issues?

Unexpected error during Oracle Service Bus synchronization. Please see the logs for more information.

Unexpected error during Oracle Service Bus synchronization. Please see the logs for more information.
I have created a OSB cofiguration. I am trying to import OSB projects from the repository. When i drag and drop my osb project in my configuration. Its giving me this error.
I faced the same error, and I tried removing, reconfiguring OSB configuration files and OSB projects again and again but failed. At last I found out that if any of your WSDL is in invalid state it will show the above error because it is some conflict with metadata.
Just close the eclipse and go to this path /workspace/.metadata/.plugins/org.eclipse.wst.server.core/publish and delete publish0.dat file and other files also. Start the eclipse.
Its a Known ALSB bug in OSB (Eclipse) workspace. you should not drag-and-drop projects (or) artifcats between projects. Rather use cut-copy-paste for moving artifacts and import-export for creating and moving artifacts between workspaces.

Oauth error no such method

I don't know why, but when I launch my application I suddenly always receive the following error (that before never appeared):
java.lang.NoSuchMethodError: com.google.gdata.client.authn.oauth.GoogleOAuthParameters.setOAuthType(Lcom/google/gdata/client/authn/oauth/OAuthParameters$OAuthType;)
The line of code generating the error is:
oauthParameters.setOAuthType(OAuthParameters.OAuthType.TWO_LEGGED_OAUTH);
That error wasn't appeared before, always in eclipse there wasn't an error and all was working fine.
I've never changed library. It seems that when I deploy to app-engine it doesn't upload the jar with that class?
Since you're only seeing this issue when you deploy, it sounds like you've included the gdata-java-client jars in a location so that they are visible to your local Java runtime, but are not sent to the App Engine server upon deployment.
The easiest way to resolve this is to include the gdata-java-client and its dependencies in the war/WEB-INF/lib directory of your application, and to reference those jars in your Java build path within Eclipse.

Resources