Hi,
I'd like to suggest updates to the provided instructions. I've installed TetriX on MS Windows environment and found the following issues:
-
the element "script" in the file "package.json" does not have the correct path. The correct one is:
"scripts": {
"tetrixGUI": "webpack --config node_modules/tetrix-sol/webpack.config.js && node node_modules/tetrix-sol/server/server.js"
}
-
the command "Tetrix YOUR_SOL_FILE_PATH.sol" does not simply work out-of-the-box and should be specified (for MS Windows users) as:
cd \node_modules.bin
Tetrix.cmd YOUR_SOL_FILE_PATH.sol
-
There are also some issues with missing or outdated libraries. I had to add the following dependencies in "package.json" configuration by using npm v. 5.6.0:
"devDependencies": {
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"webpack-cli": "^3.1.2"
},
"dependencies": {
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"react": "^16.6.0",
"tetrix-sol": "^1.0.1"
}
BTW: This is not a criticism to your work. So, keep on good work ;-)
Hi,
I'd like to suggest updates to the provided instructions. I've installed TetriX on MS Windows environment and found the following issues:
the element "script" in the file "package.json" does not have the correct path. The correct one is:
"scripts": {
"tetrixGUI": "webpack --config node_modules/tetrix-sol/webpack.config.js && node node_modules/tetrix-sol/server/server.js"
}
the command "Tetrix YOUR_SOL_FILE_PATH.sol" does not simply work out-of-the-box and should be specified (for MS Windows users) as:
cd \node_modules.bin
Tetrix.cmd YOUR_SOL_FILE_PATH.sol
There are also some issues with missing or outdated libraries. I had to add the following dependencies in "package.json" configuration by using npm v. 5.6.0:
"devDependencies": {
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"webpack-cli": "^3.1.2"
},
"dependencies": {
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"react": "^16.6.0",
"tetrix-sol": "^1.0.1"
}
BTW: This is not a criticism to your work. So, keep on good work ;-)