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

Build error phantomjs #69

Open
longtran84 opened this issue Nov 6, 2023 · 1 comment
Open

Build error phantomjs #69

longtran84 opened this issue Nov 6, 2023 · 1 comment

Comments

@longtran84
Copy link

npm ERR! code 1
npm ERR! path /home/j2ee/Downloads/angular-surveys-master/node_modules/phantomjs
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! PhantomJS not found on PATH
npm ERR! Phantom installation failed TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
npm ERR! at validateString (internal/validators.js:120:11)
npm ERR! at Object.join (path.js:1039:7)
npm ERR! at findSuitableTempDirectory (/home/j2ee/Downloads/angular-surveys-master/node_modules/phantomjs/install.js:127:30)
npm ERR! at /home/j2ee/Downloads/angular-surveys-master/node_modules/phantomjs/install.js:476:19
npm ERR! at nextTickCallback (/home/j2ee/Downloads/angular-surveys-master/node_modules/kew/kew.js:47:28)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:79:11) {
npm ERR! code: 'ERR_INVALID_ARG_TYPE'
npm ERR! } TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
npm ERR! at validateString (internal/validators.js:120:11)
npm ERR! at Object.join (path.js:1039:7)
npm ERR! at findSuitableTempDirectory (/home/j2ee/Downloads/angular-surveys-master/node_modules/phantomjs/install.js:127:30)
npm ERR! at /home/j2ee/Downloads/angular-surveys-master/node_modules/phantomjs/install.js:476:19
npm ERR! at nextTickCallback (/home/j2ee/Downloads/angular-surveys-master/node_modules/kew/kew.js:47:28)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:79:11)

npm ERR! A complete log of this run can be found in:
npm ERR! /home/j2ee/.npm/_logs/2023-11-06T11_41_30_811Z-debug-0.log

@longtran84
Copy link
Author

@jorge-1409 can you help me on 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

No branches or pull requests

1 participant