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

post-install error with 1.0.0 #856

Closed
Dhaulagiri opened this issue Apr 1, 2022 · 8 comments
Closed

post-install error with 1.0.0 #856

Dhaulagiri opened this issue Apr 1, 2022 · 8 comments
Labels
🐛 bug Something isn't working

Comments

@Dhaulagiri
Copy link

The problem

Our CI builds stop passing today upon release of @percy/cli@1.0.0. See below for details.

Details

Debug logs

In a brand new ember app

~/c/w/ui-test (master|✚3…) $ yarn add -D @percy/cli
yarn add v1.22.18
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
[5/5] 🔨  Building fresh packages...
error /Users/Dhaulagiri/code/work/ui-test/node_modules/@percy/core: Command failed.
Exit code: 1
Command: node ./post-install
Arguments: 
Directory: /Users/Dhaulagiri/code/work/ui-test/node_modules/@percy/core
Output:
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '/Users/Dhaulagiri/code/work/ui-test/node_modules/@percy/core/post-install'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Code to reproduce issue

Failed CI run

@katerberg
Copy link

This appears to be a duplicate of #855 but I can confirm this is happening for me as well.

@SebasG22
Copy link

SebasG22 commented Apr 1, 2022

+1 This is happening in our CI too

@djones
Copy link

djones commented Apr 1, 2022

Hi everyone, sorry about this and thanks for reporting. We are aware of this issue and are currently working on a fix. Subscribe to the thread for updates.

@wwilsman
Copy link
Contributor

wwilsman commented Apr 1, 2022

Sorry about this everybody! See #858 for an explanation 😅

Give v1.0.1 a try (I had to invalidate my cache cause yarn kept pulling 1.0.0)

@Robdel12 Robdel12 added the 🐛 bug Something isn't working label Apr 1, 2022
amyrlam added a commit to hashicorp/design-system that referenced this issue Apr 2, 2022
@SebasG22
Copy link

SebasG22 commented Apr 2, 2022

@wwilsman
It worked for me :) Thanks

@katerberg
Copy link

1.0.1 has solved this for us!

I believe this can be closed.

@Dhaulagiri
Copy link
Author

Dhaulagiri commented Apr 4, 2022

Same. Thanks for the quick response on this!

@mattdell
Copy link

mattdell commented Apr 14, 2022

Disregard. I think I have a seperate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants