Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
app
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Site.js
  • app
  • Issues
  • #256

Closed
Open
Opened Dec 11, 2020 by Laura Kalbag@laura❤Developer
  • Report abuse
  • New issue
Report abuse New issue

Regression (macOS): incorrect unprivileged home path calculation leads to crash

Deployment fails on macOS with UnhandledPromiseRejectionWarning: Error: ENOTSUP

❨site.js❩ Building Hugo source at .hugo/
(node:31764) UnhandledPromiseRejectionWarning: Error: ENOTSUP: operation not supported on socket, mkdir '/home/laura'
    at Object.mkdirSync (fs.js:841:3)
    at mkdirsSync (/usr/local/bin/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:31:9)
    at mkdirsSync (/usr/local/bin/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
    at mkdirsSync (/usr/local/bin/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
    at Object.mkdirsSync (/usr/local/bin/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
    at new Hugo (/usr/local/bin/node_modules/@small-tech/node-hugo/index.js:49:8)
    at /usr/local/bin/bin/lib/generate-content.js:54:18
    at asyncForEach (/usr/local/bin/lib/async-foreach.js:25:11)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async generateContent (/usr/local/bin/bin/lib/generate-content.js:28:3)
(node:31764) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:31764) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
``
Edited Dec 11, 2020 by Aral Balkan
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
Regression macOS
Assign labels
  • View project labels
Reference: site.js/app#256

Like this? Fund us! Your patronage helps keep us independent and going.