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

Could not run locally by following instructions in readme.md #300

Open
callumslatter opened this issue Apr 25, 2023 · 3 comments
Open

Could not run locally by following instructions in readme.md #300

callumslatter opened this issue Apr 25, 2023 · 3 comments

Comments

@callumslatter
Copy link

callumslatter commented Apr 25, 2023

Hi there, cool project!

I had issues running the demo locally when following the instructions in the readme.md.

The instructions are currently:

$ git clone git@github.com:zalify/easy-email.git
$ cd easy-email


$ yarn  
$ yarn install-all
$ yarn dev

Following these instructions, yarn install-all gave the following error:

error https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.178.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, stat '/Users/callum.slatter/Library/Caches/Yarn/v6/npm-@types-lodash-4.14.178-341f6d2247db528d4a13ddbb374bcdc80406f4f8-integrity/node_modules/@types/lodash/sortedUniq.d.ts'"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.13.13.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, stat '/Users/callum.slatter/Library/Caches/Yarn/v6/npm-esbuild-linux-ppc64le-0.13.13-7ec9048502de46754567e734aae7aebd2df6df02-integrity/node_modules/esbuild-linux-ppc64le/bin/esbuild'"
error https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.13.13.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, stat '/Users/callum.slatter/Library/Caches/Yarn/v6/npm-esbuild-sunos-64-0.13.13-ac9ead8287379cd2f6d00bd38c5997fda9c1179e-integrity/node_modules/esbuild-sunos-64/bin/esbuild'"
[####################################################################-] 681/688lerna ERR! yarn --force exited 1 in 'easy-email-editor'
lerna ERR! yarn --force exited 1 in 'easy-email-editor'
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

To resolve I ran the following:

(As per the instructions)
$ git clone git@github.com:zalify/easy-email.git
$ cd easy-email

$ cd demo
$ yarn 
$ cd ../
$ yarn install-all
@callumslatter
Copy link
Author

I've just tried to replicate in another directory and can't replicate. I won't close just yet in case someone else wants to try and replicate.

@JustinBack
Copy link

Same happens to me, re-running it fixes it however not its not possible to run this repo in a CI for automated builds

@MichaelJumble
Copy link

MichaelJumble commented Dec 12, 2023

Executed the same steps on a new environment and got the same error messages. Can't start the demo like that either.

Add:
To solve this just add missing package here:

npm install --save @types/lodash

and repeat yarn-

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

3 participants