You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this my errors when i want to install packages with npm install i think i missing something in the installation for node-gyp
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
PhantomJS not found on PATH
Download already available at C:\Users\MSISOS1\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip
Verified checksum of previously downloaded file
Extracting zip contents
Removing D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\phantomjs\lib\phantom
Copying extracted folder C:\Users\MSISOS1\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1681306000184\phantomjs-1.9.8-windows -> D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\phantomjs\lib\phantom
Writing location.js file
Done. Phantomjs binary available at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\phantomjs\lib\phantom\phantomjs.exe
internal/validators.js:124
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Object
at validateString (internal/validators.js:124:11)
at Object.basename (path.js:743:5)
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\download\index.js:35:43
at each (D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\each-async\each-async.js:63:4)
at module.exports (D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\download\index.js:33:5)
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\bin-wrapper\index.js:108:20
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\bin-wrapper\index.js:141:24
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\bin-check\index.js:30:20
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\executable\index.js:39:20
at FSReqCallback.oncomplete (fs.js:192:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\MSI SOS\AppData\Roaming\npm-cache_logs\2023-04-12T13_26_41_560Z-debug.log
The text was updated successfully, but these errors were encountered:
this my errors when i want to install packages with npm install i think i missing something in the installation for node-gyp
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\ws>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
PhantomJS not found on PATH
Download already available at C:\Users\MSISOS
1\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip1\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1681306000184\phantomjs-1.9.8-windows -> D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\phantomjs\lib\phantomVerified checksum of previously downloaded file
Extracting zip contents
Removing D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\phantomjs\lib\phantom
Copying extracted folder C:\Users\MSISOS
Writing location.js file
Done. Phantomjs binary available at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\phantomjs\lib\phantom\phantomjs.exe
internal/validators.js:124
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Object
at validateString (internal/validators.js:124:11)
at Object.basename (path.js:743:5)
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\download\index.js:35:43
at each (D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\each-async\each-async.js:63:4)
at module.exports (D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\download\index.js:33:5)
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\bin-wrapper\index.js:108:20
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\bin-wrapper\index.js:141:24
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\bin-check\index.js:30:20
at D:\dxc\document\ngfolder\PharosApp\sigma-parent\sigma-ng\node_modules\executable\index.js:39:20
at FSReqCallback.oncomplete (fs.js:192:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall:
node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\MSI SOS\AppData\Roaming\npm-cache_logs\2023-04-12T13_26_41_560Z-debug.log
The text was updated successfully, but these errors were encountered: