easy-email-editor
easy-email-editor copied to clipboard
Could not run locally by following instructions in readme.md
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 [email protected]: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 [email protected]:zalify/easy-email.git
$ cd easy-email
$ cd demo
$ yarn
$ cd ../
$ yarn install-all
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.
Same happens to me, re-running it fixes it however not its not possible to run this repo in a CI for automated builds
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-