when does this error come. is it when you try to npm install truffle or when you try to run truffle init or when you try to do a command like truffl ecompile or truffle migrate??
This error first came when I did truffle init (the truffle compile or truffle migrate i don’t know), but after I reinstalled truffle i saw this in the node.js screen right after the install.
This doesn’t look right.
It says INSTANCE.HELLO is not a function???
can someone help please
think u need instance.Helllo ?
this is what I get in my virtual studio terminal. Just to be clear
I noticed it says µWs is not compatible with your Node.js build … but I don’t find what I should do
mubashirhussain@Mubashirs-MBP helloworld % truffle complie
Compiling your contracts…
✓ Fetching solc version list from solc-bin. Attempt #1
✓ Downloading compiler. Attempt #1.
✓ Downloading compiler. Attempt #2.
Downloading compiler. Attempt #3.
Error: Could not find a compiler version matching 0.8.0. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run truffle compile --list
to see available versions.
at VersionRange.getSatisfyingVersionFromCache (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:134:1)
at VersionRange. (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:54:1)
at Generator.throw ()
at rejected (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compile
mubashirhussain@Mubashirs-MBP helloworld % npm uninstall -g truffle
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/truffle
npm ERR! dest /usr/local/lib/node_modules/.truffle-ojTgnptm
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename ‘/usr/local/lib/node_modules/truffle’ -> ‘/usr/local/lib/node_modules/.truffle-ojTgnptm’
npm ERR! [Error: EACCES: permission denied, rename ‘/usr/local/lib/node_modules/truffle’ -> ‘/usr/local/lib/node_modules/.truffle-ojTgnptm’] {
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘rename’,
npm ERR! path: ‘/usr/local/lib/node_modules/truffle’,
npm ERR! dest: ‘/usr/local/lib/node_modules/.truffle-ojTgnptm’
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mubashirhussain/.npm/_logs/2022-05-04T12_36_50_203Z-debug.log
mubashirhussain@Mubashirs-MBP helloworld % sudo npm uninstall -g truffle
Password:
removed 838 packages, and audited 1 package in 2s
found 0 vulnerabilities
mubashirhussain@Mubashirs-MBP helloworld % sudo npm install -g [email protected]
npm WARN deprecated [email protected]: This package is broken and no longer maintained. ‘mkdirp’ itself supports promises now, please switch to that.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: “Please update to latest v2.3 or v2.2”
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
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.
npm WARN deprecated @nodefactory/[email protected]: Package is deprecated in favour of @chainsafe/filsnap-adapter
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by @ipld/dag-cbor and multiformats
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.
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.
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.
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.
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
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.
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
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]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by @ipld/dag-pb and multiformats
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
added 853 packages, and audited 854 packages in 2m
89 packages are looking for funding
run npm fund
for details
15 vulnerabilities (2 moderate, 12 high, 1 critical)
To address issues that do not require attention, run:
npm audit fix
Some issues need review, and may require choosing
a different dependency.
Run npm audit
for details.
mubashirhussain@Mubashirs-MBP helloworld % truffle version
Truffle v5.4.18 (core: 5.4.18)
Solidity - 0.8.0 (solc-js)
Node v16.13.1
Web3.js v1.5.3
mubashirhussain@Mubashirs-MBP helloworld % truffle migrate
Compiling your contracts…
Fetching solc version list from solc-bin. Attempt #1
Downloading compiler. Attempt #1.
Downloading compiler. Attempt #2.
Error: Could not find a compiler version matching 0.8.0. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run truffle compile --list
to see available versions.
at VersionRange.errors (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/compilerSupplier/loadingStrategies/LoadingStrategy.js:66:1)
at VersionRange.getSatisfyingVersionFromCache (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/compilerSupplier/loadingStrategies/VersionRange.js:87:1)
at VersionRange.load (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/compilerSupplier/loadingStrategies/VersionRange.js:205:1)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at CompilerSupplier.load (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/compilerSupplier/index.js:71:1)
at loadParser (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/profiler/loadParser.js:15:29)
at Object.requiredSources (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/profiler/index.js:19:1)
at Object.sourcesWithDependencies (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/index.js:139:45)
at necessary (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/index.js:106:1)
at /usr/local/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/index.js:35:1
at async Promise.all (index 0)
at compile (/usr/local/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/index.js:25:1)
at Object.compile (/usr/local/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/index.js:68:47)
at Object.compileAndSave (/usr/local/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/index.js:99:47)
at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:199:1)
Truffle v5.4.18 (core: 5.4.18)
Node v16.13.1
mubashirhussain@Mubashirs-MBP helloworld % sudo npm uninstall -g truffle
removed 853 packages, and audited 1 package in 2s
found 0 vulnerabilities
mubashirhussain@Mubashirs-MBP helloworld % sudo npm install -g [email protected]
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.)
added 27 packages, and audited 28 packages in 15s
3 vulnerabilities (2 moderate, 1 critical)
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit
for details.
mubashirhussain@Mubashirs-MBP helloworld % truffle version
Error: EACCES: permission denied, open ‘/Users/mubashirhussain/.config/truffle/config.json’
You don’t have access to this file.
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at Configstore.get all [as all] (/usr/local/lib/node_modules/truffle/build/webpack:/~/configstore/index.js:31:1)
at new Configstore (/usr/local/lib/node_modules/truffle/build/webpack:/~/configstore/index.js:25:31)
at Function.getUserConfig (/usr/local/lib/node_modules/truffle/build/webpack:/packages/config/dist/index.js:151:1)
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/mnemonics/mnemonic.js:11:1)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:19:1)
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/develop.js:2:22)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:19:1)
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/index.js:9:12)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:19:1)
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/cli.js:33:29)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:19:1)
at /usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:65:1
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:71:10)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
mubashirhussain@Mubashirs-MBP helloworld % npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See npm help init
for definitive documentation on these fields
and exactly what they do.
Use npm install <pkg>
afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
package name: (helloworld)
version: (1.0.0)
description:
entry point: (index.js)
test command:
git repository:
keywords:
author:
license: (ISC)
About to write to /Users/mubashirhussain/Documents/Ehereruim-201/helloworld/package.json:
{
“name”: “helloworld”,
“version”: “1.0.0”,
“description”: “”,
“main”: “index.js”,
“scripts”: {
“test”: “echo “Error: no test specified” && exit 1”
},
“author”: “”,
“license”: “ISC”
}
Is this OK? (yes)
mubashirhussain@Mubashirs-MBP helloworld % truffle init
Error: EACCES: permission denied, open ‘/Users/mubashirhussain/.config/truffle/config.json’
You don’t have access to this file.
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at Configstore.get all [as all] (/usr/local/lib/node_modules/truffle/build/webpack:/~/configstore/index.js:31:1)
at new Configstore (/usr/local/lib/node_modules/truffle/build/webpack:/~/configstore/index.js:25:31)
at Function.getUserConfig (/usr/local/lib/node_modules/truffle/build/webpack:/packages/config/dist/index.js:151:1)
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/mnemonics/mnemonic.js:11:1)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:19:1)
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/develop.js:2:22)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:19:1)
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/index.js:9:12)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:19:1)
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/cli.js:33:29)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:19:1)
at /usr/local/lib/node_modules/truffle/build/webpack:/webpack/bootstrap 45f436e53fa694e98811:65:1
at Object.<anonymous> (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:71:10)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
mubashirhussain@Mubashirs-MBP helloworld % sudonpm install -g truffle
zsh: command not found: sudonpm
mubashirhussain@Mubashirs-MBP helloworld % sudo npm install -g truffle
npm WARN deprecated [email protected]: This package is broken and no longer maintained. ‘mkdirp’ itself supports promises now, please switch to that.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
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.
npm WARN deprecated @nodefactory/[email protected]: Package is deprecated in favour of @chainsafe/filsnap-adapter
npm WARN deprecated [email protected]: This module has been superseded by @ipld/dag-cbor and multiformats
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
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.
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.
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.
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
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.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: This module has been superseded by @ipld/dag-pb and multiformats
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
npm WARN deprecated [email protected]: This module has been superseded by the multiformats module
added 811 packages, changed 27 packages, and audited 839 packages in 2m
87 packages are looking for funding
run npm fund
for details
12 high severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
Some issues need review, and may require choosing
a different dependency.
Run npm audit
for details.
mubashirhussain@Mubashirs-MBP helloworld % truffle init
Starting init…
Copying project files to /Users/mubashirhussain/Documents/Ehereruim-201/helloworld
Init successful, sweet!
Try our scaffold commands to get started:
$ truffle create contract YourContractName # scaffold a contract
$ truffle create test YourTestName # scaffold a test
mubashirhussain@Mubashirs-MBP helloworld % truffle compile
Compiling your contracts…
✓ Fetching solc version list from solc-bin. Attempt #1
✓ Downloading compiler. Attempt #1.
✓ Downloading compiler. Attempt #2.
Downloading compiler. Attempt #3.
Error: Could not find a compiler version matching 0.8.13. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run truffle compile --list
to see available versions.
at VersionRange.getSatisfyingVersionFromCache (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:134:1)
at VersionRange. (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:54:1)
at Generator.throw ()
at rejected (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:6:42)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Truffle v5.5.12 (core: 5.5.12)
Node v16.13.1
mubashirhussain@Mubashirs-MBP helloworld % truffle compile -list
Compiling your contracts…
✓ Fetching solc version list from solc-bin. Attempt #1
✓ Downloading compiler. Attempt #1.
✓ Downloading compiler. Attempt #2.
Downloading compiler. Attempt #3.
Error: Could not find a compiler version matching 0.8.13. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run truffle compile --list
to see available versions.
at VersionRange.getSatisfyingVersionFromCache (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:134:1)
at VersionRange. (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:54:1)
at Generator.throw ()
mubashirhussain@Mubashirs-MBP helloworld % sudo uninstall -g solc
Password:
sudo: uninstall: command not found
mubashirhussain@Mubashirs-MBP helloworld % solc --version
zsh: command not found: solc
mubashirhussain@Mubashirs-MBP helloworld % truffle compile
Compiling your contracts…
✓ Fetching solc version list from solc-bin. Attempt #1
✓ Downloading compiler. Attempt #1.
✓ Downloading compiler. Attempt #2.
Downloading compiler. Attempt #3.
Error: Could not find a compiler version matching 0.8.0. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run truffle compile --list
to see available versions.
at VersionRange.getSatisfyingVersionFromCache (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:134:1)
at VersionRange. (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:54:1)
at Generator.throw ()
at rejected (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:6:42)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Truffle v5.5.12 (core: 5.5.12)
Node v16.13.1
mubashirhussain@Mubashirs-MBP helloworld %
I see truffle has a VS code extension now. I haven’t used it but was curious if anyone else has? Is it recommended to be using that instead when creating projects on our own?
Hello, I am trying to install truffle but am running into some problems. The first thing I did was download and install node.js 16.15.1, and then went to my computer`s command prompt and attempted to install truffle, which didn’t work so I uninstalled and tried to reinstall with --force. Do I need to do anything else first, any help would be appreciated.
Thanks
Hey, I was having the same problem yesterday. I think I fixed the location problem by updating my npm with the following steps.
No luck with that either, thanks anyways. Any other ideas?
after installing truffle with npm, you can try to run truffle -v
and it should return the version of your truffle package, meaning that truffle has installed properly and its ready for being use.
If the command is not working, you can try with npx truffle -v
, the WARN messages are just warnings that some packages should upgrade, but this will not stop the functionality of truffle, so nothing to worry about them.
Carlos Z
After doing some research through some other forums and some trial & error, I found that if I downloaded a specific version of truffle (in my case 5.4.29), using the command npm install -g [email protected]
truffle would successfully install, do you think this solution will be good enough?
Thanks,
Yes, that should be enough, still let me know if it works for you.
Carlos Z
I got these errors when installing Truffle (on Macbook Pro). Seems like it works though but do you think it will be problematic at some point ?
Nothing to worry about, those are warning messages on modules used by the package you are installed.
Carlos Z
the problem is that later on, when I try to deploy the Helloworld contract, I get these errors and I’m not sure how to fix them.
When Filip type ‘truffle deployed’ in terminal then he gets node instead of cmd.
Why my terminal doesn’t transform to node if I type that?
I have such an error:
Compilation failed. See above.
at C:\Users\pajak\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-solidity\dist\run.js:64:1
at Generator.next (<anonymous>)
at fulfilled (C:\Users\pajak\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-solidity\dist\run.js:4:43)
Truffle v5.5.22 (core: 5.5.22)
Node v16.16.0
How could I solve it?