Skip to content

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

Closed
@slipkinem

Description

@slipkinem

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! AppPivotEHRWeb@0.1.1 build: vue-cli-service build --mode=dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the AppPivotEHRWeb@0.1.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


no

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions