Comments (11)
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.
I seem to be having a similar issue, unzip
is located in PATH and at least the help page is displayed for it from the terminal, but deno compile
fails. I will note that I am launching this from a VirtualBox VM
from deno.
Related Issues (20)
- ffi: nonblocking symbol with result "u64" returns `number` instead of `bigint`
- deno serve --parallel=X [script] is not work? HOT 3
- Disallow JSR dependency importing itself in `deno publish --dry-run` HOT 2
- SLSA provenance generated does not conform to the in-toto specification
- Short flag for `--allow-run` (`-X`?)
- Responding with boxed strings breaks HTTP server HOT 3
- question: Where is the web cache storage persisted to disk? HOT 1
- DX: Permissions prompts don't have "deny all" setting HOT 5
- Bug: windows cannot exit permission prompt with CTRL+C HOT 2
- Hide `--unstable-http` from `--help` output HOT 2
- DX: `deno test --coverage` doesn't show coverage HOT 4
- Infinte loop in import resolver due to double slashes
- deno fmt removed footnotes indent HOT 2
- Support excluding directories from workspaces HOT 6
- [WPT] actions workflow wpt_epoch.yml is failing
- `deno run` cannot run task name with colons
- deno resource leak test false positive when using filter HOT 3
- `DENO_FUTURE` breaks `ssh2` HOT 2
- deno cache returns 133 error HOT 1
- Horrible performances with some npm packages (but fine on other runtimes) ? HOT 4
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.