Hello. I am a university student in Japan, currently doing an internship using Universal Robots. I have a question because I encountered an issue. I downloaded SDK-polyscopex-0.14.74, opened VS Code from Ubuntu, and completed the setup. However, when I tried to run package.json, it didn’t work. I searched for the cause on other sites and tried to download npm, but that didn’t work either. Could you tell me which version is being used in package.json and what might be causing it not to work? My final task goal is to display the speed on the URcaps screen and check the route of the x, y, z coordinates using TCP. I am worried that I might not be able to complete the task within the internship period, so please help me. Thank you.2025-01-27T15:00:00Z
Hi Takumih
Ive personaly never needded to run
npm run start
I start by opening the project inside the container
see: Get started with development Containers in Visual Studio Code
then I simply follow the step laid out by the sdk cheat sheet:
https://docs.universal-robots.com/PolyScopeX_SDK_Documentation/build/SDK-v0.14/GettingStarted.html#cheatsheet
Note: I usually don’t define the port or the host
and then I just write http://localhost/
in my chrome browser.
Note: you will need to at extra stuff to this “web address” if you define the host and server. but this is also quite well described some where in the SDK documentation.
I followed the given instructions, but I am still getting an error. It says that npm itself cannot be found in the official registry. Why is that?
It sound like you have not open the project inside the docker container.
maybe this link is a bit more clear then the first one I sent
And if this does not work please put in ALOT more details about what you are currently doing and not just the error. Please describe your whole process!