piskelapp / piskel

A simple web-based tool for Spriting and Pixel art.
http://piskelapp.com
Apache License 2.0
10.89k stars 763 forks source link

Piskel Cannot Build Correcly (Loading "node_webkit_builder.js" tasks...ERROR >> TypeError: os.tmpDir is not a function) #1090

Open TheCyberCafeMAN opened 1 year ago

TheCyberCafeMAN commented 1 year ago

Bug description

(this template is intended for bug reports, erase it when requesting features/enhancements)

Steps to reproduce the bug

  1. download source
  2. install grunt with npm
  3. install dependecies with "npm install" command
  4. Install PhantomJS Manualy if necessary
  5. execute "grunt" command

Environment details

Terminal Output: Loading "node_webkit_builder.js" tasks...ERROR

TypeError: os.tmpDir is not a function

Running "eslint:files" (eslint) task

Running "leadingIndent:css" (leadingIndent) task Checking files indentation. Desired indentation: spaces (41 files) OK

Running "clean:prod" (clean) task

2 paths cleaned.

Running "sprite:all" (sprite) task Files "src/css/icons.css", "src/img/icons.png", "src/img/icons@2x.png" created.

Running "concat:js" (concat) task

Running "concat:css" (concat) task

Running "uglify:js" (uglify) task

1 file created 1.14 MB → 575.41 kB

Running "includereplace:all" (includereplace) task Processed 1 file

Running "replace:mainPartial" (replace) task

1256 replacements in 1 file.

Running "replace:css" (replace) task

59 replacements in 1 file.

Running "copy:prod" (copy) task Copied 119 files

Done.

ftoledo commented 1 year ago

same error on debian 11

AverseABFun commented 1 month ago

this is still happening over a year later