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

Interrupting package install leaves the filesystem in a bad state #371

Closed
mikrostew opened this issue Apr 19, 2019 · 0 comments · Fixed by #368
Closed

Interrupting package install leaves the filesystem in a bad state #371

mikrostew opened this issue Apr 19, 2019 · 0 comments · Fixed by #368

Comments

@mikrostew
Copy link
Contributor

Found this working on a slow WiFi this afternoon. This is similar to #200, but only for packages.

Interrupting the package install leaves the filesystem in a state where that version of the package is not able to be installed:

$ notion install cowsay 1.4.0
  Unpacking cowsay-v1.4.0  [========================================] 100%
[hit ^C here to interrupt the npm install]

$ notion install cowsay 1.4.0
  Unpacking cowsay-v1.4.0  [========================================] 100%
error: an internal error occurred

Notion is still a pre-alpha project, so we expect to run into some bugs,
but we'd love to hear about them so we can fix them!

Please feel free to reach out to us at @notionjs on Twitter or file an issue at:

    https://github.com/notion-cli/notion/issues

Error details written to: notion-error-2019-04-19_15_28_12.293.log

$ notion install cowsay 1.3.0
  Unpacking cowsay-v1.3.0  [========================================] 100%
npm notice created a lockfile as package-lock.json. You should commit this file.
added 9 packages from 2 contributors and audited 1535 packages in 4.964s
found 0 vulnerabilities
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

Successfully merging a pull request may close this issue.

1 participant