Comments (10)
Outputs of
echo $PATH
echo $SHELL
which unzip
from deno.
output of echo $SHELL is '/bin/bash'
other outputs can be seen in screenshot:
from deno.
Maybe the temp directory Deno created got deleted before unzip was called. @flo-jan Do you have any background service that deletes /tmp/
?
The error message can be improved.
from deno.
Deno runs as Snap application.
There is a /tmp/snap-private-tmp/snap.deno/tmp/
folder. It is empty and remains empty after running deno compile
, but I can see something happens with it, because the modified date of that folder updates each time I run deno compile
.
from deno.
I would be interested if someone is able to reproduce this issue
from deno.
I tried another way of installing deno, not with Snap but with this command:
curl -fsSL https://deno.land/x/install/install.sh | sudo DENO_INSTALL=/usr/local sh
I still encounter the same problem when trying to run deno compile but with a different error message:
Archive: /tmp/.tmpPoaYid/denort.zip
inflating: denort
error: Writing write
Caused by:
No such file or directory (os error 2)
I checked the /tmp folder. I can create folders and files in it and they are not removed automatically.
I also tried another laptop with Ubuntu 22.04 installed and on that laptop deno compile works without problems.
from deno.
Since an Ubuntu clean install of the same version does not trigger any issues, it looks more like an issue with the OS and/or the user env setup.
from deno.
Deno.makeTempFile() works correctlty however, on the same computer
from deno.
it creates files in the /tmp folder
from deno.
It would be helpful if would know the exact location in deno's source code where this
Archive: /tmp/.tmpPoaYid/denort.zip
inflating: denort
error: Writing write
Caused by:
No such file or directory (os error 2)
happens. Could someone point me to that?
from deno.
Related Issues (20)
- React helmet async breaking in 1.44.3 HOT 6
- Bug: TS "Infer return type" inserts file specifier HOT 1
- 💡 Can executing 'Deno. cwd()' in the worker return an independent directory? HOT 2
- bug: panic from invalid `host` values for `net` permission HOT 2
- Deno runtime stuck in endless loop while running `Array.prototype[0]=0;` HOT 1
- Issue from 1.43 to 1.44: expected error to be instance of "NotFound", but was "PermissionDenied" HOT 3
- `await promise` does not guarantee the yield of control flow HOT 3
- workflow is failing with Deno HOT 5
- Cargo install deno locked warns about yanked crates HOT 1
- AsyncLocalStorage behaves differently from node
- Deno task "sh -c" doesn't pass args to command HOT 1
- A better way to handle __$f undefined HOT 1
- deno called from quarto breaks on one machine HOT 1
- Improvements for `deno doc --lint`.
- A node.js stream polyfill issue: the error thrown within the process.nextTick callback cannot be caught, leading to unexpected exit when connection closed HOT 1
- Support shebang line (ES14) HOT 5
- Memory leak when transpiling modules during bootstrap HOT 5
- Deno.serve queues up request when setTimeout operation is ongoing
- Remove use of `home` crate
- make deno compile handle import.meta correctly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.