Skip to content
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

How to integrate noVNC in Angular 16 #1842

Open
chethan1095 opened this issue Mar 5, 2024 · 1 comment
Open

How to integrate noVNC in Angular 16 #1842

chethan1095 opened this issue Mar 5, 2024 · 1 comment

Comments

@chethan1095
Copy link

Hi,
I have been trying to use noVNC in my angular application where I am not able to install the package and use it I tried with https://github.com/nasrob/vnc-client this still not able to use it .
Here are the details on how I am using noVNC:-

import * as RFB from "../../../node_modules/novnc/core/rfb.js";
import RFB from '@novnc/novnc/core/rfb';
import { RFB } from 'novnc';

public rfb: RFB;

tried with all 3 imports but getting error as
Module not found: Error: Can't resolve '../../app/ui.js' in 'C:\Chethan\Projects\VM-ware\nexus_gui\node_modules\novnc\lib\input'

@samhed samhed transferred this issue from novnc/websockify Mar 10, 2024
@samhed
Copy link
Member

samhed commented Mar 10, 2024

ui.js is not part of the noVNC library. The npm package only contains the library, not the application. Perhaps you're after the complete application rather than just the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants