Closed joshlang closed 4 years ago
Also, package.json is as follows:
{
"name": "test123",
"version": "1.0.0",
"description": "test123",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@openzeppelin/cli": "^2.8.2",
"@openzeppelin/contracts": "^3.1.0",
"ganache-cli": "^6.9.1"
},
"dependencies": {
"@openzeppelin/contract-loader": "^0.6.1",
"web3": "^1.2.11"
}
}
Well.
Never. Frickin'. Mind.
3 hours later... somebody changed something and it's installing now.
Current confidence level: 101%.
Hi @joshlang,
I'm sorry that you had this issue.
I recommend using Windows Subsystem for Linux (WSL) on Window 10.
Whilst I previously developed smart contracts natively on Windows, it is much easier using WSL2 on Windows 10.
https://forum.openzeppelin.com/t/solidity-smart-contract-development-on-windows/2110
If you have any questions, feel free to ask in the community forum: https://forum.openzeppelin.com/
Hey hey!
Yep, already got it working, running vscode within an ubuntu context.
Pretty steep learning curve during the setup to figure that out, but... all good now. Thanks!
Great to hear.
It takes a little while to get WSL setup, but then you are using Linux which is what the ecosystem supports, so life gets a lot easier after that.
PS C:\Users\Josh\source\repos\test123> npm install --save-dev @openzeppelin/test-environment
yields this error output:Using windows 10.
node --version
-> v12.18.3npm --version
-> 6.14.7Prior stuff (basically just walking through your intro stuff)
The debug log file is attached here:
2020-08-05T15_48_03_327Z-debug.log