I have created simple web application project, for that I want to add the Code-Coverage task. I am facing issue regarding ‘except is undefined error’. I followed the below link for this. Can you suggest me for going forward from this issue?enter link description here
Related
I want to set up a new vue storefront project and I've got this error. I don't know why this is happening, can someone help out in this situation?
command: npx #vue-storefront/cli init
? What's your project name? smso
? Choose integration Commercetools
ERROR VSF Unable to get integration template from git repository
Did you connect your frontend application with a commercetools project yet?
You can register for a free trial here: https://commercetools.com/free-trial
And the following documentation describes how to create a project:
https://docs.commercetools.com/merchant-center/projects#create-a-project
So basically just register with your Merchant Center user and then click your initials in the upper right hand corner to create an organisation, a team as well as a project.
You might be running the command vsf init <project_name> in the wrong directory. It happened to me when I was following along this URL. Compare the below two print screens:
The error I got:
The right way to do it:
The commercetools integration is an enterprise solution, so the one in the CLI is a mockup just for knowledge sharing on how to build integrations.
You can check our integrations at https://docs.vuestorefront.io/v2/integrations/
My project is built using Vue.js, powered by Nuxt
I’m using Cypress to write/run tests
I’m using CircleCI (v2) to run the tests
Locally, using Cypress’s instance of the Electron browser on macOS, the tests run correctly.
On CircleCI, the tests display a blank screen.
I’ve SSHed into CircleCI after the tests have failed, and if I make a curl request to the local server at that address, the correct HTML is returned to me.
My hypothesis is that the browser is not able to run Vue.js, but without a console log it’s hard to tell.
Any ideas as either how to continue debugging, or even better, fix it?
Edit: I’ve written an extra test to use another site, and it loaded correctly, so I can confirm that everything else is working.
Edit: It’s in my Nuxt config, just going through it now to pull out the line causing the problem.
So, of course this was super annoying. I’m not sure what the chances are of this happening to somebody else, but here’s the answer to my problem:
Google Analytics
On my CI I don’t have a GA code, and it was falling back to empty string, so it wasn’t able to load the page. It didn’t show up on the sever logs as it was an issue on the client side, and it’s not yet possible to easily get client logs using Cypress (coming soon).
Interesting, Thomas,
Could you open a GitHub issue with a link to a small repo that we can try ourselves? I do not see any factors that might affect running Cypress tests against Nuxt app on Circle
We're stuck in the Hippo Channel Manager when adding a page. The docs say that the option should be enabled when there is a prototype page. Well, we have it, but the Channel Manager says: sitemap not editable. I've tested it with a 'clean' maven generated project with some sample content: same message. Find a screenshot attached. What am I doing wrong?
I can't reproduce this. I have a 11.1 archetype project with simple content (from essentials) and copied the the homepage to the prototype pages. This works. I need more detail about what you have done to know why it doesn't work. In order for this to be activated you have to have a prototype page (obvious) and a workspace. Now you should have a workspace anyway so this should not be the issue, but perhaps you have changed some authorization?
Problem solved by doing a complete 'reconfigure' from scratch and re-applying all my changes. Sorry for bothering you.
I would like to develop and publish a npm module and publish it. I have tried reading the content on the websites. I did not find any tutorial which will give me all insights and the best practices to be followed while creating a module as a plug and play component.
Any help will be appreciated..
Seems to be the very simple question, but I guess the second part of the question is more crucial. It would require applying your best experience.
Pls. refer below Links:
https://docs.npmjs.com/getting-started/creating-node-modules
https://github.com/mattdesl/module-best-practices
i have developed a small application and was working fine on developing machine but when i installed it on another computer and double click on it to start it starts and after splash screen it gives don't send error [ an error occured ] and getting closed ..... how can i fix that....is there any extension missing or there is any other problem...
You have to create a Setup and Deployment project. You have to use to Install and Run the project.
You are probably missing 3rd party assemblies. As Shoban suggested, create a setup project (ClickOnce perhaps) and make sure all the required 3rd party and yours assemblies are included.
You might like to consider including a user friendly exception handler in your project. This will provide you with better information when something unexpected happens to your program.
See this article written by Jeff Atwood about exception handling.