Skip to content
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

Erro when i run test #3

Closed
chunbin1 opened this issue Apr 7, 2020 · 2 comments
Closed

Erro when i run test #3

chunbin1 opened this issue Apr 7, 2020 · 2 comments

Comments

@chunbin1
Copy link

chunbin1 commented Apr 7, 2020

lee@RosedeMacBook-Pro npm-publish % npm test

> @jsdevtools/npm-publish@1.1.0 test /Users/lee/myCode2/npm-publish
> mocha && npm run lint

(node:43329) ExperimentalWarning: The fs.promises API is experimental


  GitHub Action - failure tests
    1) "before each" hook: clean the .tmp directory for "should fail if the NPM token isn't set"


  0 passing (4ms)
  1 failing

  1) "before each" hook: clean the .tmp directory for "should fail if the NPM token isn't set":
     Error: ENOENT: no such file or directory, rmdir '/Users/lee/myCode2/npm-publish/test/.tmp'
@JamesMessinger
Copy link
Member

It looks like you're running an old version of Node (older than v12.10.0). Upgrade to the latest Node version and the tests should work.

@chunbin1
Copy link
Author

chunbin1 commented Apr 9, 2020

It looks like you're running an old version of Node (older than v12.10.0). Upgrade to the latest Node version and the tests should work.

Thanks,it works.

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

No branches or pull requests

2 participants