Git Product home page Git Product logo

Comments (10)

jerome-benoit avatar jerome-benoit commented on August 28, 2024

Outputs of

echo $PATH
echo $SHELL
which unzip

from deno.

flo-jan avatar flo-jan commented on August 28, 2024

output of echo $SHELL is '/bin/bash'

other outputs can be seen in screenshot:
deno and unzip

from deno.

littledivy avatar littledivy commented on August 28, 2024

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.

flo-jan avatar flo-jan commented on August 28, 2024

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.

flo-jan avatar flo-jan commented on August 28, 2024

I would be interested if someone is able to reproduce this issue

from deno.

flo-jan avatar flo-jan commented on August 28, 2024

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.

jerome-benoit avatar jerome-benoit commented on August 28, 2024

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.

flo-jan avatar flo-jan commented on August 28, 2024

Deno.makeTempFile() works correctlty however, on the same computer

from deno.

flo-jan avatar flo-jan commented on August 28, 2024

it creates files in the /tmp folder

from deno.

flo-jan avatar flo-jan commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.