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

Many errors when installing #655

Open
JOY opened this issue Feb 26, 2023 · 0 comments
Open

Many errors when installing #655

JOY opened this issue Feb 26, 2023 · 0 comments

Comments

@JOY
Copy link

JOY commented Feb 26, 2023

I got there errors while installing:

joy@Vin-Desk:~$ npm install --global @tryghost/migrate
npm WARN deprecated topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek@5.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated hubspot-api@2.15.3: No longer maintained, please use @hubspot/api-client instead
npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated uuid@3.4.0: 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.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated joi@13.7.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated superagent@4.1.0: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at https://github.com/visionmedia/superagent/releases.
npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\@stdlib',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules@stdlib\ndarray'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\@stdlib\ndarray'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\node-expat
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.0
npm ERR! gyp info using node@18.14.1 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.0 found at "C:\Python311\python.exe"
npm ERR! gyp info find VS using VS2019 (16.11.33328.57) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Python311\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\node-expat\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Local\node-gyp\Cache\18.14.1\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\Anh\AppData\Local\node-gyp\Cache\18.14.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Anh\\AppData\\Local\\node-gyp\\Cache\\18.14.1\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\node-expat',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\node-expat\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: C:\Users\Anh\AppData\Local\node-gyp\Cache\18.14.1\common.gypi not found (cwd: C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\node-expat) while reading includes of binding.gyp while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: gyp failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onCpExit (C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp\lib\configure.js:325:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Windows_NT 10.0.22623
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\node-expat
npm ERR! gyp ERR! node -v v18.14.1
npm ERR! gyp ERR! node-gyp -v v9.3.0
npm ERR! gyp ERR! not ok

I tried with PowerShell as well:

PS C:\WINDOWS\system32> npm install --global @tryghost/migrate
npm WARN deprecated topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek@5.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated hubspot-api@2.15.3: No longer maintained, please use @hubspot/api-client instead
npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated uuid@3.4.0: 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.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated joi@13.7.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated superagent@4.1.0: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at https://github.com/visionmedia/superagent/releases.
npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\sharp',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\sharp'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\sharp'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\dtrace-provider',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\dtrace-provider'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\dtrace-provider'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\sharp'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\sharp'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\@TryGhost\image-transform',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules@tryghost\image-transform'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\@TryGhost\image-transform'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules@tryghost\image-transform'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\@TryGhost\image-transform'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\node-expat
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.0
npm ERR! gyp info using node@18.14.1 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.0 found at "C:\Python311\python.exe"
npm ERR! gyp info find VS using VS2019 (16.11.33328.57) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Python311\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\node-expat\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Local\node-gyp\Cache\18.14.1\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\Anh\AppData\Local\node-gyp\Cache\18.14.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Anh\\AppData\\Local\\node-gyp\\Cache\\18.14.1\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\node-expat',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\@TryGhost\migrate\node_modules\node-expat\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: C:\Users\Anh\AppData\Local\node-gyp\Cache\18.14.1\common.gypi not found (cwd: C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\node-expat) while reading includes of binding.gyp while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: gyp failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onCpExit (C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp\lib\configure.js:325:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Windows_NT 10.0.22623
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\Anh\AppData\Roaming\nvm\v18.14.1\node_modules@tryghost\migrate\node_modules\node-expat
npm ERR! gyp ERR! node -v v18.14.1
npm ERR! gyp ERR! node-gyp -v v9.3.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Anh\AppData\Local\npm-cache_logs\2023-02-26T16_28_45_656Z-debug-0.log

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