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

Build Fails on Simulator #3

Open
TeeLusk opened this issue Sep 5, 2024 · 2 comments
Open

Build Fails on Simulator #3

TeeLusk opened this issue Sep 5, 2024 · 2 comments

Comments

@TeeLusk
Copy link

TeeLusk commented Sep 5, 2024

We have been developing a URCap using the dev container simulator setup. We've been able to install other samples provided with that setup. I pulled this repo down, ran a successful npm install and get these messages with the npm run build command

✔ Browser application bundle generation complete.

./src/app/app.module.ts:3:0-123 - Error: Module not found: Error: Can't resolve './components/external-control-program/external-control-program.component' in '/workspaces/PolyScopeX_URCap_SDK/samples/Universal_Robots_ExternalControl_URCapX/external-control-frontend/src/app'

./src/app/app.module.ts:4:0-135 - Error: Module not found: Error: Can't resolve './components/external-control-application/external-control-application.component' in '/workspaces/PolyScopeX_URCap_SDK/samples/Universal_Robots_ExternalControl_URCapX/external-control-frontend/src/app'

./src/app/app.module.ts:37:4-41:6 - Error: Module not found: Error: Can't resolve './components/external-control-application/external-control-application.behavior.worker.ts' in '/workspaces/PolyScopeX_URCap_SDK/samples/Universal_Robots_ExternalControl_URCapX/external-control-frontend/src/app'

./src/app/app.module.ts:42:4-46:6 - Error: Module not found: Error: Can't resolve './components/external-control-program/external-control-program.behavior.worker.ts' in '/workspaces/PolyScopeX_URCap_SDK/samples/Universal_Robots_ExternalControl_URCapX/external-control-frontend/src/app'

Error: error TS18003: No inputs were found in config file '/workspaces/PolyScopeX_URCap_SDK/samples/Universal_Robots_ExternalControl_URCapX/external-control-frontend/tsconfig.worker.json'. Specified 'include' paths were '["src/**/*.worker.ts"]' and 'exclude' paths were '["node_modules","tmp"]'.


Error: src/app/app.module.ts:2:49 - error TS2307: Cannot find module './components/external-control-program/external-control-program.component' or its corresponding type declarations.

2 import { ExternalControlProgramComponent } from './components/external-control-program/external-control-program.component';
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: src/app/app.module.ts:3:53 - error TS2307: Cannot find module './components/external-control-application/external-control-application.component' or its corresponding type declarations.

3 import { ExternalControlApplicationComponent } from './components/external-control-application/external-control-application.component';
                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: src/app/app.module.ts:20:19 - error NG1010: Value
@urrsk
Copy link
Member

urrsk commented Nov 20, 2024

@TeeLusk Sorry for the late reply.
May I ask what version of the PolyScopeX SDKyou are building it with?

@urrsk
Copy link
Member

urrsk commented Nov 20, 2024

@TeeLusk thanks for the issue. It turned out that I had forgot to commit some files.
Can I ask you to try again and verify that you can compile it?

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

No branches or pull requests

2 participants