Code Monkey home page Code Monkey logo

shopizer-admin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shopizer-admin's Issues

execute “ng serve -o” visit “http://localhost:4200” error "Cannot GET /"

The following is the error message . Please help to see how to solve it. Thank you for your support .

一、execute "npm install --legacy-peer-deps " error
Compiling @angular/cdk/drag-drop : es2015 as esm2015
Compiling @angular/cdk/keycodes : es2015 as esm2015
Compiling @angular/cdk/layout : es2015 as esm2015
Compiling @angular/cdk/observers : es2015 as esm2015
Compiling @angular/cdk/overlay : es2015 as esm2015
Compiling @angular/cdk/platform : es2015 as esm2015
Error: Failed to compile entry-point @angular/cdk/drag-drop (es2015 as esm2015) due to compilation errors:
node_modules/@angular/cdk/scrolling/scrolling-module.d.ts:8:22 - error NG6003: Appears in the NgModule.exports of DragDropModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.

This lik

二、execute “ng serve -o” error

PS D:\company_work_project\shopizer\shopizer-admin-snyk-fix-d039072a6e2072b60be3e8509cc89dbb> ng serve -o
√ Browser application bundle generation complete.

Initial Chunk Files | Names | Size
main.js | main | 0 bytes
polyfills.js | polyfills | 0 bytes
runtime.js | runtime | 0 bytes
scripts.js | scripts | 0 bytes
styles.css, styles.js | styles | 0 bytes
vendor.js | vendor | 0 bytes

                  | Initial Total | 0 bytes

Build at: 2023-02-19T06:08:36.689Z - Hash: aaabff7d11493e0f3b82 - Time: 60189ms

Error: node_modules/@angular-devkit/schematics/node_modules/@angular-devkit/core/node_modules/ajv/dist/types/json-schema.d.ts:1:92 - error TS1005: '?' expected.

1 declare type StrictNullChecksWrapper<Name extends string, Type> = undefined extends null ? strictNullChecks must be true in tsconfig to use ${Name} : Type;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@angular-devkit/schematics/node_modules/@angular-devkit/core/node_modules/ajv/dist/types/json-schema.d.ts:1:151 - error TS1005: ';' expected.

1 declare type StrictNullChecksWrapper<Name extends string, Type> = undefined extends null ? strictNullChecks must be true in tsconfig to use ${Name} : Type;
~

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

三、Browser console error
GET http://localhost:4200/ 404 (Not Found)
Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'none'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.

New Admin accounts with ADMIN authorization having trouble accessing forms.

Backend is throwing the following exception: Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "MERCHANT_STORE" not found; SQL statement: select * from MERCHANT_STORE m where (m.STORE_CODE = ? or (? is null or m.PARENT_ID = ?)) and (? is null or m.STORE_NAME like ?) limit ? [42102-200]

image

I created a new Admin account and selected the admin authorizations. Then I logged in as this new user but I am unable to access most pages on the Admin dashboard. For example I am able to view Category List but not Product List.

ng serve getting error, angular/core/core"' has no exported member 'ɵɵDirectiveDeclaration'

GitHub: main branch
node_modules/angular-file/file-upload/ngfUploadStatus.directive.d.ts:9:21 - error TS2694: Namespace '"F:/IdeaProjects/shopizer-admin/node_modules/@angular/core/core"' has no exported member 'ɵɵDirectiveDeclaration'.

9 static ɵdir: i0.ɵɵDirectiveDeclaration<ngfUploadStatus, "ngfUploadStatus", never, { "percent": "percent"; "httpEvent": "httpEvent"; }, { "percentChange": "percentChange"; }, never>;****

Customer List pagination

I registered a user from the front-end app, but it does not appear in the admin customer list page. From the investigation below seems that the pagination starts from page 1 instead of 0.

admin app:
image

customer list api

image

totally unable to get this project running

On a clean Ubuntu Linux 20 server

I have tried different versions of node and get all kinds of different results. It says tested with node 12 but that can't be used with Angular CLI.

Can someone tell me a specific nodejs, npm and Angular CLI version that is working? Is there something special I need to do to install the CLI with an older version of node? Does anyone have this working with the latest node?

Try to run shopizer-admin

Hello ,
Thanks for this ecommerce project ,

I have some issues when I try to run shopizer-admin project (Angular)

npm i --yes ng serve -o

error is :

verbose node v15.11.0
verbose npm v7.6.0

`npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ETIMEDOUT: request to https://registry.npmjs.org/ng failed, reason: connect ETIMEDOUT 104.16.25.35:443
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/zrender/-/zrender-4.3.1.tgz failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\moham\AppData\Local\npm-cache_logs\2021-03-17T12_01_26_758Z-debug.log

`

any help ?

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.