Skip to content

PhantomJS error while installing package #105

@funder7

Description

@funder7

Hi,

I've encountered an error while trying to install the package (I'm using node 22.10.0 LTS + pnpm):

node_modules/.pnpm/[email protected]/node_modules/phantomjs: Running install script, failed in 88ms
.../node_modules/phantomjs install$ node install.js
│ (node:33661) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
│ (Use `node --trace-deprecation ...` to show where the warning was created)
│ Considering PhantomJS found at /home/benz/myrepo/italdev/myempire/node_modules/.pnpm/[email protected]/node_modules/jquery-ui-month-picker-zm/node_modules/.pnpm/phan…
│ Looks like an `npm install -g` on windows; skipping installed version.
│ Phantom installation failed TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
│     at Object.join (node:path:1250:7)
│     at findSuitableTempDirectory (/home/benz/myrepo/italdev/myempire/node_modules/.pnpm/[email protected]/node_modules/jquery-ui-month-picker-zm/node_modules/.pnpm/p…
│     at /home/benz/myrepo/italdev/myempire/node_modules/.pnpm/[email protected]/node_modules/jquery-ui-month-picker-zm/node_modules/.pnpm/[email protected]/node_module…
│     at nextTickCallback (/home/benz/myrepo/italdev/myempire/node_modules/.pnpm/[email protected]/node_modules/jquery-ui-month-picker-zm/node_modules/.pnpm/[email protected]/…
│     at process.processTicksAndRejections (node:internal/process/task_queues:85:11) {
│   code: 'ERR_INVALID_ARG_TYPE'
│ } TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
│     at Object.join (node:path:1250:7)
│     at findSuitableTempDirectory (/home/benz/myrepo/italdev/myempire/node_modules/.pnpm/[email protected]/node_modules/jquery-ui-month-picker-zm/node_modules/.pnpm/p…
│     at /home/benz/myrepo/italdev/myempire/node_modules/.pnpm/[email protected]/node_modules/jquery-ui-month-picker-zm/node_modules/.pnpm/[email protected]/node_module…
│     at nextTickCallback (/home/benz/myrepo/italdev/myempire/node_modules/.pnpm/[email protected]/node_modules/jquery-ui-month-picker-zm/node_modules/.pnpm/[email protected]/…
│     at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
└─ Failed in 88ms at /home/benz/myrepo/italdev/myempire/node_modules/.pnpm/[email protected]/node_modules/jquery-ui-month-picker-zm/node_modules/.pnpm/[email protected]/node_modules/phantomjs
 ELIFECYCLE  Command failed

I guess dependencies are too old and became incompatible with the current toolchain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions