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
running npm run docs
get error
#14288
Comments
I’m not actually sure the last time this command worked. We should decide if we should fix it or just remove it. |
@nzakas And running Node version: v16.7.0 $ sw_vers
ProductName: macOS
ProductVersion: 11.4 ~/desktop/eslint
$ npm run gensite
> eslint@8.0.0-beta.0 gensite
> node Makefile.js gensite
Generating eslint.org
> Creating a temporary directory (Step 1)
> Removing old files (Step 2)
> Copying the docs folder (Step 3)
> Updating files (Steps 4-9)
> Copying the temporary directory into the site's docs folder (Step 10)
/Users/tagawahirotaka/Desktop/eslint/node_modules/shelljs/src/common.js:401
if (config.fatal) throw e;
^
Error: cp: dest is not a directory (too many sources)
at Object.error (/Users/tagawahirotaka/Desktop/eslint/node_modules/shelljs/src/common.js:110:27)
at _cp (/Users/tagawahirotaka/Desktop/eslint/node_modules/shelljs/src/cp.js:235:12)
at /Users/tagawahirotaka/Desktop/eslint/node_modules/shelljs/src/common.js:384:25
at Function.target.gensite (/Users/tagawahirotaka/Desktop/eslint/Makefile.js:761:5)
at Object.global.target.<computed> [as gensite] (/Users/tagawahirotaka/Desktop/eslint/node_modules/shelljs/make.js:36:40)
at /Users/tagawahirotaka/Desktop/eslint/node_modules/shelljs/make.js:48:27
at Array.forEach (<anonymous>)
at Timeout._onTimeout (/Users/tagawahirotaka/Desktop/eslint/node_modules/shelljs/make.js:46:10)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
|
It works well, but it expects that there's |
We can remove the |
Tell us about your environment
Node version: v15.12.0
npm version: v7.7.6
Local ESLint version: v7.23.0 (Currently used)
Global ESLint version: Not found
Operating System: darwin 20.4.0
seems it has not run in CI. is it still needed?
The text was updated successfully, but these errors were encountered: