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
C:\myproject\myweb3\node_modules\hardhat\internal\cli\bootstrap.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (C:\myproject\myweb3\node_modules@cspotcode\source-map-support\source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:1075:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at require (node:internal/modules/helpers:138:16)
at Object. (C:\myproject\myweb3\node_modules@nomicfoundation\solidity-analyzer\index.js:107:29)
at Module._compile (node:internal/modules/cjs/loader:1565:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1708:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\myproject\myweb3\node_modules\@NomicFoundation\solidity-analyzer\index.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\ignition-core\dist\src\verify.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\ignition-core\dist\src\index.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\hardhat-ignition\dist\src\index.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\hardhat-ignition-ethers\dist\src\index.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\hardhat-toolbox\index.js',
'C:\myproject\myweb3\hardhat.config.ts',
'C:\myproject\myweb3\node_modules\hardhat\internal\core\config\config-loading.js',
'C:\myproject\myweb3\node_modules\hardhat\internal\cli\cli.js',
'C:\myproject\myweb3\node_modules\hardhat\internal\cli\bootstrap.js'
]
}
Version of Hardhat
2.22.17
What happened?
OS:windows 11 arm64(24H2 , 26100.2605)
An error occurs when executing the “npx hardhat” command on Windows 11 arm64:
C:\myproject\myweb3>npx hardhat
An unexpected error occurred:
Error: Cannot find module '@nomicfoundation/solidity-analyzer-win32-arm64-msvc'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (C:\myproject\myweb3\node_modules@cspotcode\source-map-support\source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:1075:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at require (node:internal/modules/helpers:138:16)
at Object. (C:\myproject\myweb3\node_modules@nomicfoundation\solidity-analyzer\index.js:107:29)
at Module._compile (node:internal/modules/cjs/loader:1565:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1708:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\myproject\myweb3\node_modules\@NomicFoundation\solidity-analyzer\index.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\ignition-core\dist\src\verify.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\ignition-core\dist\src\index.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\hardhat-ignition\dist\src\index.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\hardhat-ignition-ethers\dist\src\index.js',
'C:\myproject\myweb3\node_modules\@NomicFoundation\hardhat-toolbox\index.js',
'C:\myproject\myweb3\hardhat.config.ts',
'C:\myproject\myweb3\node_modules\hardhat\internal\core\config\config-loading.js',
'C:\myproject\myweb3\node_modules\hardhat\internal\cli\cli.js',
'C:\myproject\myweb3\node_modules\hardhat\internal\cli\bootstrap.js'
]
}
Minimal reproduction steps
npm init
npm install --save-dev hardhat
npx hardhat init
npx hardhat
Search terms
No response
The text was updated successfully, but these errors were encountered: