Skip to content

npm run build. EISDIR: illegal operation on a directory, open '/Users/**/**/**/dist/DEV/0.1.1' #2414

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

Closed
slipkinem opened this issue Aug 31, 2018 · 0 comments

Comments

@slipkinem
Copy link

Version

3.0.1

Reproduction link

https://www.no.com

Node and OS info

Node v10.6.0, NPM v6.1.0, macos 10.13.6

Steps to reproduce

change vue.config.js outputDir: outputDir: dist/${process.env.NODE_ENV.toUpperCase()}/${pkg.version},

npm run build

What is expected?

output dist/{env}/{version} dir.

What is actually happening?

npm run build
Error: EISDIR: illegal operation on a directory, open
'/Users///**/dist/DEV/0.1.1'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: vue-cli-service build --mode=dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants