nielsenramon / chalk

Chalk is a high quality, completely customizable, performant and 100% free Jekyll blog theme.
http://chalk.nielsenramon.com
MIT License
1.23k stars 442 forks source link

Error on publish #168

Closed nastareater closed 5 years ago

nastareater commented 6 years ago

Have tried it several times but the error when running npm run publish always resulted in the same error

$ npm run publish

> chalk@ publish D:\nastar\blog\orichalk
> sh bin/deploy

Started deploying
Switched to a new branch 'gh-pages'
yarn install v1.7.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.58s.
Configuration file: D:/nastar/blog/orichalk/_config.yml
            Source: D:/nastar/blog/orichalk
       Destination: D:/nastar/blog/orichalk/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
jekyll 3.8.3 | Error:  No such file or directory @ dir_initialize - D:/nastar/blog/orichalk/_assets/yarn/npm/node_modules/libnpmhook/node_modules/npm-registry-fetch/node_modules/make-fetch-happen/node_modules/http-proxy-agent/node_modules/agent-base/node_modules/es6-promisify/node_modules/es6-promise/lib/es6-promise/promise
Zeta611 commented 6 years ago

I have a similar issue on npm run publish. I had a blog working properly before using this theme, but it now raises the following error:

[3/4] 🔗  Linking dependencies...
error An unexpected error occurred: "ENOENT: no such file or directory, lstat '/Users/jay/zetablog.ml/_assets/yarn/mkdirp'".
info If you think this is a bug, please open a bug report with the information provided in "/Users/jay/zetablog.ml/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! chalk@ publish: `bin/deploy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chalk@ publish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jay/.npm/_logs/2018-10-04T13_09_06_874Z-debug.log

I believe the cause is the yarn install v1.10.1 part. I freshly downloaded my blog from GitHub, and it doesn't work now.

Jesonwoo commented 4 years ago

@Zeta611 Hello, I have the same problem as you. Have you found the reason?

Zeta611 commented 4 years ago

@Jesonwoo No, I just moved on and used a different theme.

rodrigojuarez commented 4 years ago

@Zeta611 can you recommend something similar in functionality?

Zeta611 commented 4 years ago

@rodrigojuarez I am happy with TeXt theme

rodrigojuarez commented 4 years ago

Thanks @Zeta611!