shopizer-ecommerce / shopizer-admin Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
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]
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.
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>;****
Would it be possible to push the latest code to Dockerhub under the latest
tag or another suitable one? The latest
tag was last pushed almost 18 months ago and it would be good to include some of the fixes, for example the fix for change password with 9bc982a#diff-9662036796b21bb355a744be395f160067c047df81c36a9330df8710092c27dd
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?
The parent field should not allow the current entity to be an option, if this is chosen the category will disappear from the category list but still exists in storage.
The requirements are forced upon creating a user but when editing a current user you can set a password without the requirements being forced.
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 ?
My db is 10.6.5-MariaDB .
I confirmed that the manager data was normally created in the db.
The log-in information is as follows:
Username: [email protected]
Password: password
Can I get information to log in?
Unabel to run application with "npm start"
Tried Node 16 and Node 18. Same result :(
Error: Assertion failed: (thread_id_key != 0x7777), function find_thread_id_key, file coroutine.cc, line 134.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.