Base solution for your next web application

Activities of "radhikari1985"

Question

Hi, I am trying to migrate to the latest greatest version of ASPNet zero, .net Core MVC Jquery project.

I am having trouble on the migration, is there any way anyone could help me with the migration Project.

How do I ensure to Select User Id as a FK value for an Entity while creating any new Entity from power tools.

Any help would be appreciated.

This is something that is needed ASAP.

i have already taken these steps and was able to get them in the Server side. however i am not able to get them accessed in the client side abp.session.mynewpropertyName.

just like abp.session.userId

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
    • ASP NET Boilerplate
  • What is your product type (Angular or MVC)?
    • MVC
  • What is product framework type (.net framework or .net core)?
    • .NET CORE

If issue related with ABP Framework

  • 5.14.0

How do I get the custom Property that I added in the Server Side using ClaimsAbpSession, but trying to find out how can we get this in client side like: abp.session.newPropertyName, so it can be access by the client when needed just like other session properties.

Well I found the issue. I forgot to add them to the Node Module. basically, i did yarn add [package name] and than added them to the bundle.jason than ran the np run create-bundles. It worked like a charm.

I would say, this can go into your documentation, as some people might be struggling with the same issue by forgetting to add the package first to the noe module.

Hope would help others.

Haven't tried with the Demo Project. but these are steps that I took after that I started getting this error.

  1. Downloaded the Project.
  2. Followed the tutorials to run yarn or web.mvc and we.public
  3. ran npm bundle create on both
  4. checked in to tfs
  5. I tried changin the Package,json with what is there in web.mvc for we.public project
  6. ran npm build create for web.public, i keep getting this after that.

If needed I can give you the access to my TFS and you can test it directly from there won't harm my project for now.

Hi,

I have been getting below error each time i try to run "npm run create-bundles".

I have tried, restarting the computer twice.

The very first time it was good and gave me no error, but now when I tried adding new packages to the public project and try to to do create bundles, it keeps giving me the same error. Please help:

version: 8.1.0 Project: Core + JQuery

Error:

info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Users\Ritesh\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'create-bundles' 1 verbose cli ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'precreate-bundles', 'create-bundles', 'postcreate-bundles' ] 5 info lifecycle [email protected]~precreate-bundles: [email protected] 6 info lifecycle [email protected]~create-bundles: [email protected] 7 verbose lifecycle [email protected]~create-bundles: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~create-bundles: PATH: C:\Users\Ritesh\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Ritesh\Documents\Workspace\Projects\Formatics_Global_DEV\src\FormaticsGlobal.Web.Public\node_modules.bin;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio;C:\Program Files\Git\cmd;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\nodejs;C:\Program Files\Microsoft VS Code\bin;C:\Users\Ritesh\AppData\Local\Microsoft\WindowsApps;C:\Users\Ritesh\AppData\Roaming\npm;C:\Users\Ritesh.dotnet\tools 9 verbose lifecycle [email protected]~create-bundles: CWD: C:\Users\Ritesh\Documents\Workspace\Projects\Formatics_Global_DEV\src\FormaticsGlobal.Web.Public 10 silly lifecycle [email protected]~create-bundles: Args: [ '/d /s /c', 'gulp buildDev' ] 11 silly lifecycle [email protected]~create-bundles: Returned: code: 1 signal: null 12 info lifecycle [email protected]~create-bundles: Failed to exec create-bundles script 13 verbose stack Error: [email protected] create-bundles: gulp buildDev 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (C:\Users\Ritesh\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16) 13 verbose stack at EventEmitter.emit (events.js:223:5) 13 verbose stack at ChildProcess.<anonymous> (C:\Users\Ritesh\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:223:5) 13 verbose stack at maybeClose (internal/child_process.js:1021:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) 14 verbose pkgid [email protected] 15 verbose cwd C:\Users\Ritesh\Documents\Workspace\Projects\Formatics_Global_DEV\src\FormaticsGlobal.Web.Public 16 verbose Windows_NT 10.0.18362 17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\Ritesh\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "create-bundles" 18 verbose node v12.14.1 19 verbose npm v6.13.6 20 error code ELIFECYCLE 21 error errno 1 22 error [email protected] create-bundles: gulp buildDev 22 error Exit status 1 23 error Failed at the [email protected] create-bundles script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]

Showing 1 to 7 of 7 entries