decentraland / decentraland/editor-sdk7

issue with finding modules

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi, I asked this question on discord, but couldn't get a solution, so I'll try here.
I'm trying to import GltfContainer, Transform and Vector3 from corresponding paths (@dcl/sdk/math and @dcl/sdk/ecs) but I'm getting it underlined with an information that the modules cannot be found. I'm attaching a screen below, could you tell me if I'm doing something wrong? Or I'm missing a line in the code?
I'm trying to import the avocado glb model properly.
Maybe it has something to do with the fact, that @dcl\sdk is under "node_modules" folder? I have the latest sdk7(v1.15.1) and also added " npm i decentraland-ecs@latest" line in the terminal.

![image](https://github.com/decentraland/editor-sdk7/assets/137005717/80d1bee3-28e6-4582-844c-ad4fee9d3532)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the import-resolution warning with the reported SDK7 version and the paths @dcl/sdk/math and @dcl/sdk/ecs. Check the project setup and installed package versions; done means the documented imports resolve without module-not-found diagnostics and the avocado GLB example can be imported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.