Base solution for your next web application

Activities of "sebastian.morar"

Hi,

I am using this documentation to build my newly purchase framwork without any changes: <a class="postlink" href="https://www.aspnetzero.com/Documents/Step-by-step-publish-to-azure-core-mvc">https://www.aspnetzero.com/Documents/St ... e-core-mvc</a>

The step with gulp raises an error but I heard from <a href="mailto:[email protected]">[email protected]</a> that this step is no longer needed and the documentation is obsolete (will be updated soon). And to use 'npm run create-bundle' instead.

I did that and published, but the site is not working properly and I get lots of errors in browser console.

Could anyone help me with this?

Here is the gulp error: Command: gulp -prod Using gulpfile gulpfile.js Task 'default' is not in your gulpfile Please check the documentation for proper gulpfile formatting

Question

I am trying to make email validator to accept plus sign (+) when creating an user.

Could you please help me out with this issue?

One of the issues I had was with bundling which has been fixed as below.

The problem is related with the Ecma Script installed on your machine.

To solve this problem you can update abp-web-resources package.

<a class="postlink" href="https://www.npmjs.com/package/abp-web-resources">https://www.npmjs.com/package/abp-web-resources</a>

The latest version (v3.8.4) is backward compatible and works without problem while bundling.

Hi Aaron,

Thank you for your answer.

I am definitely creating a user. I have just tried again (the user is being created in a tenant) with no success.

I have purchased aspnetzero less than a month ago, I have version v5.6. Where did you tried to reproduce?

Thanks, Sebastian Morar

Hi Aaron,

The link you gave me return 404. When trying to go to <a class="postlink" href="https://github.com/aspnetzero">https://github.com/aspnetzero</a> I see only one repository (documents) which is not hepful.

Do I need some rights to access the page with the PR?

Thanks

Hi Alper, Aaron,

I'm using MVC rather than Angular. Could you share the code for MVC?

Thanks

Hi,

I am working on implementing CI/CD from bitbucket and the only step left is applying the migrations. I believe enabling automatic migration will solve the problem, but I'm not sure how to do that.

Running context.Database.Migrate(); in SeedHostDb doesn't work.

Could you please help me with enabling automatic migrations?

Thanks

Question

Hi,

Since a week ago I started receiving an error when running npm run build Running npm run create-bundles works fine.

The error is: SyntaxError in plugin "gulp-uglify-es" Message: 'return' outside of function Details: filename: layout.js line: 346 col: 1 pos: 9409 domainEmitter: [object Object] domain: [object Object] domainThrown: false

Could you please help me find the solution?

Thank you, Sebastian Morar

Answer

It seems that theme9 is the culprit as it has an extra }. I fix it altering layout.js in src\SmartManole.Web.Mvc\wwwroot\metronic\themes\theme8\js\ as shown below

Showing 1 to 9 of 9 entries