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

Error: Command failed, Error: Cannot find module... #32

Closed
magestik247 opened this issue Nov 17, 2020 · 5 comments
Closed

Error: Command failed, Error: Cannot find module... #32

magestik247 opened this issue Nov 17, 2020 · 5 comments

Comments

@magestik247
Copy link

When I'm trying "yarn install" on a W 10, x64 I'm getting the following error:

error \assistant\node_modules@reflect.bridged.xyz\uiutils: Command failed.
Exit code: 1
Command: tsc
Arguments:
Directory: \assistant\node_modules@reflect.bridged.xyz\uiutils
Output:
internal/modules/cjs/loader.js:883
throw err;

Error: assistant\node_modules\node_modules\typescript\bin\tsc'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {

@softmarshmallow
Copy link
Member

softmarshmallow commented Nov 17, 2020

I'm not familiar with windows environment, But fresh clone works for me.
Assuming that error is related to post-install problem, i'll try to fix it and notify you. meanwhile, may i ask when your clone was? the below is based on (10fa683) (current latest master)

cd assistant 
 softmarshmallow@MacBook-Pro-4  ~/Downloads/test/assistant   master  yarn
yarn install v1.22.4
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
warning Pattern ["@types/node@latest"] is trying to unpack in the same destination "/Users/softmarshmallow/Library/Caches/Yarn/v6/npm-@types-node-14.14.7-~~~]. This could result in non-deterministic behavior, skipping.
warning sketch@0.1.0: The engine "sketch" appears to be invalid.
[3/4] 🔗  Linking dependencies...
warning "workspace-aggregator-47ba093e-e51c-4dd5-864a-42dfc466698f > figma > pug-loader@2.4.0" has incorrect peer dependency "pug@^2.0.0".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
✨  Done in 41.98s.

@softmarshmallow
Copy link
Member

@magestik247 try this. it may work
86c4c8c

@magestik247
Copy link
Author

still doesn't work

@softmarshmallow
Copy link
Member

@magestik247 Can you give me your full log?

and also the result of tree command on repo root

@softmarshmallow
Copy link
Member

Stale, Closing.

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