-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Harbor UI Development: npm start Fails to Compile #21044
Comments
@MinerYang and @AllForNothing Could you please take a look and see if there is anything that needs to be documented regarding the UI development? |
- fixes issue goharbor#21044 goharbor#21044 Signed-off-by: bupd <bupdprasanth@gmail.com>
- fixes issue goharbor#21044 goharbor#21044 Signed-off-by: bupd <bupdprasanth@gmail.com>
fixes issue goharbor#21044 goharbor#21044 Signed-off-by: bupd <bupdprasanth@gmail.com>
After testing with different Node versions, no errors were found in version 16.20.2 & 18.20.2. Errors start occurring with versions above this. To fix this, we can set |
fixes issue goharbor#21044 goharbor#21044 Signed-off-by: bupd <bupdprasanth@gmail.com>
Hi @bupd , Thanks for your dedicate works, just FYI, our current valid node version is 16.18.0 harbor/make/photon/portal/Dockerfile Line 3 in 2b881d6
|
have checked with 16.18.0 and updating the same in .nvmrc file |
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
Expected behavior: The
npm start
orng serve
commands should run successfully to start the Harbor UI development server without any issues.Actual behavior: Running
npm start
orng serve
results in a TypeScript error due to a duplicate identifier'Prepend'
in the@types/eslint/helpers.d.ts file
. This issue prevents the application from compiling and running the development server.Here’s the error output:
Steps to reproduce the problem:
src/portal
npm install
.npm start
orng serve
to start the Angular development server. (results in error).Versions:
Please specify the versions of following systems.
Additional context:
harbor.yml
and files in the same directory, including subdirectory./var/log/harbor/
.The text was updated successfully, but these errors were encountered: