Giter Site home page Giter Site logo

ngx-admin-dotnet-starter's Issues

Does not Build

We are testing/trying this but it does not work.

gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'C:\\1_Code\\testbed_Frontend\\ngx-admin\\frontend\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\which\which.js:80:29)
gyp verb `which` failed     at C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\which\which.js:89:16
gyp verb `which` failed     at C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:183:21)
gyp verb `which` failed  python2 Error: not found: python2
gyp verb `which` failed     at getNotFoundError (C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\which\which.js:80:29)
gyp verb `which` failed     at C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\which\which.js:89:16
gyp verb `which` failed     at C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:183:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python39\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                       ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:308:12)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\1_Code\\testbed_Frontend\\ngx-admin\\frontend\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\1_Code\testbed_Frontend\ngx-admin\frontend\node_modules\node-sass
gyp ERR! node -v v14.15.4
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN [email protected] requires a peer of @angular/common@^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/compiler@^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] - 3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of popper.js@^1.14.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^8.2.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/forms@^8.2.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/common@^8.2.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@>= 2.3.1 < 3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No description
npm WARN [email protected] license should be a valid SPDX license expression
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

Can you also update to .Net 5

UserStore - Property "user" is used before its initialization

export class UserStore {
private user: User = null;

protected userState$ = new BehaviorSubject(this.user);

angular 11/nebular 7 build gives error: UserStore - Property "user" is used before its initialization
previous versios gives only warning on build succees but on newer versions build faild on error.
I bought this code and it won't work!!!

Forgot Password not working

I haven't been able to get the Forgot Password flow working yet.

Reset token generation works. I wired up an email service that links to the reset URL: auth/reset-password?reset_password_token=TokenGoesHere.

The link takes the user to the Change password page. They enter a new password and click CHANGE PASSWORD.

Expectation: This posts the password to the restore-pass API endpoint in the demo .NET API. Actually, it posts it to reset-pass, which expects the user to be logged in.

I changed the config to point to /auth/restore-pass:

resetPass: {
    endpoint: '/auth/restore-pass',
    method: 'post',
},

Now the endpoint is hit. However, Nebular doesn't populate the RestorePasswordDTO's Email property, so password reset fails.

Steps To Reproduce

  1. Clone the repo.
  2. Follow the instructions in the .NET and Angular READMEs.
  3. Run the .NET API.
  4. Run the Angular app.
  5. When prompted to log in, click Register.
  6. Open Chrome DevTools.
  7. Fill out and submit the form.
  8. Navigate to the Network tab in DevTools and find the request-pass request.
  9. Click the Preview tab and copy the value of the response's data property.
  10. Navigate to http://localhost:4200/auth/reset-password?reset_password_token=TokenGoesHere
  11. Fill out and submit the form.

Expected Behavior

The user's password is successfully reset.

Actual Behavior

  • If reset-password's URL points to reset-password in the API, the API returns an auth error (HTTP 401) because the user isn't authenticated, since this is an anonymous "forgot password" request.
  • If the URL points to restore-password, password reset fails because the Email property of RestorePasswordDTO isn't populated.

HTTP Error 403.14 - Forbidden

After clone it and build I got the below issue while running the project from VS 2019

HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.

2020-08-12 06_56_59-Window

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.