Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhantomJS error while installing package #105

Open
funder7 opened this issue Jan 23, 2025 · 0 comments · May be fixed by #106
Open

PhantomJS error while installing package #105

funder7 opened this issue Jan 23, 2025 · 0 comments · May be fixed by #106

Comments

@funder7
Copy link

funder7 commented Jan 23, 2025

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.

@funder7 funder7 linked a pull request Jan 23, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant