Error installing @openzeppelin/test-environment

I try to setting up a testing environment. (How to call functions with another account?)
but when i run:

npm install --save-dev @openzeppelin/test-environment

there are some errors:


1 Like

Hi @wangyuyue,

I am sorry that you had this issue.

What version of node and npm are you running?
I installed with no issues with

$ node --version
v10.21.0
$ npm --version
6.14.8

I recommend using node 10 or node 12.

Hi @wangyuyue,

Were you able to install? What version of node are you running?