UniversalRobots / Universal_Robots_ExternalControl_URCapX

PolyscopeX URCap for the ROS and ROS2 drivers
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

Build Fails on Simulator #3

Open TeeLusk opened 2 months ago

TeeLusk commented 2 months ago

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 commented 2 days ago

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

urrsk commented 2 days ago

@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?