Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

npm scripts that set env vars don't run on Windows #167

Closed
bertday opened this issue Jan 5, 2018 · 0 comments
Closed

npm scripts that set env vars don't run on Windows #167

bertday opened this issue Jan 5, 2018 · 0 comments

Comments

@bertday
Copy link

bertday commented Jan 5, 2018

Expected behavior

Running npm run unit should run unit tests.

Actual behavior

On Windows, it fails because the command line doesn't understand how environment variables are being set, e.g.:

NODE_ENV=production mocha test/test.js --slow=5000 --timeout=10000

Steps to reproduce the behavior

Run npm run unit on Windows.

bertday added a commit to bertday/rollup-plugin-vue that referenced this issue Jan 5, 2018
Also updates yarn.lock to reflect dependency versions in package.json
@znck znck closed this as completed in #168 Jan 13, 2018
znck pushed a commit that referenced this issue Jan 13, 2018
Also updates yarn.lock to reflect dependency versions in package.json
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant