-
-
Save haniokasai/c4ecf233fb3cb7063fc7d8b1529090c6 to your computer and use it in GitHub Desktop.
pocketnodememo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft Windows [Version 10.0.16299.248] | |
(c) 2017 Microsoft Corporation. All rights reserved. | |
C:\Users\hani>cd z: | |
Z:\ | |
C:\Users\hani>z | |
'z' は、内部コマンドまたは外部コマンド、 | |
操作可能なプログラムまたはバッチ ファイルとして認識されていません。 | |
C:\Users\hani>z | |
'z' は、内部コマンドまたは外部コマンド、 | |
操作可能なプログラムまたはバッチ ファイルとして認識されていません。 | |
C:\Users\hani>z: | |
Z:\>cd workdir | |
Z:\workdir>mkdir brws | |
Z:\workdir>cd brws | |
Z:\workdir\brws>ls | |
Z:\workdir\brws>npm i https://github.com/eDroiid/BedrockWS.git | |
Z:\workdir\brws | |
`-- [email protected] (git+https://github.com/eDroiid/BedrockWS.git#a9de5849d1b665c5e7ff8f9aa97732f4d2e2bdc4) | |
+-- [email protected] | |
`-- [email protected] | |
+-- [email protected] | |
+-- [email protected] | |
`-- [email protected] | |
npm WARN enoent ENOENT: no such file or directory, open 'Z:\workdir\brws\package.json' | |
npm WARN brws No description | |
npm WARN brws No repository field. | |
npm WARN brws No README data | |
npm WARN brws No license field. | |
Z:\workdir\brws>node MyServer.js | |
module.js:471 | |
throw err; | |
^ | |
Error: Cannot find module 'Z:\workdir\brws\MyServer.js' | |
at Function.Module._resolveFilename (module.js:469:15) | |
at Function.Module._load (module.js:417:25) | |
at Module.runMain (module.js:604:10) | |
at run (bootstrap_node.js:389:7) | |
at startup (bootstrap_node.js:149:9) | |
at bootstrap_node.js:504:3 | |
Z:\workdir\brws>node MyServer.js | |
Server Created! Listening on port 80 | |
^C | |
Z:\workdir\brws>node MyServer.js | |
Server Created! Listening on port 80 | |
^C | |
Z:\workdir\brws>https://github.com/PocketNode/PocketNode | |
Z:\workdir\brws>cd ../ | |
Z:\workdir>git clone https://github.com/PocketNode/PocketNode | |
Cloning into 'PocketNode'... | |
remote: Counting objects: 1105, done. | |
remote: Compressing objects: 100% (32/32), done. | |
remote: Total 1105 (delta 10), reused 19 (delta 6), pack-reused 1064 eceiving objects: 99% (1094/1105) | |
Receiving objects: 100% (1105/1105), 222.58 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (539/539), done. | |
Checking connectivity... done. | |
Z:\workdir>cd PocketNode | |
Z:\workdir\PocketNode>npi i | |
'npi' は、内部コマンドまたは外部コマンド、 | |
操作可能なプログラムまたはバッチ ファイルとして認識されていません。 | |
Z:\workdir\PocketNode>npm i | |
[email protected] Z:\workdir\PocketNode | |
+-- [email protected] | |
+-- [email protected] | |
| +-- [email protected] | |
| +-- [email protected] | |
| +-- [email protected] | |
| | `-- [email protected] | |
| | `-- [email protected] | |
| +-- [email protected] | |
| +-- [email protected] | |
| | `-- [email protected] | |
| +-- [email protected] | |
| | `-- [email protected] | |
| +-- [email protected] | |
| +-- [email protected] | |
| | `-- [email protected] | |
| +-- [email protected] | |
| | `-- [email protected] | |
| +-- [email protected] | |
| +-- [email protected] | |
| `-- [email protected] | |
+-- [email protected] (git+https://github.com/PocketNode/PocketNode-BinaryStream.git#1408d60c3cdea5cacb94a6d6a20b2c884678bf32) | |
+-- [email protected] (git+https://github.com/PocketNode/PocketNode-Language.git#d36c23f448f599636e4f8705bc15adcc6e0fb9cd) | |
+-- [email protected] (git+https://github.com/PocketNode/RakNet.git#f360f66b6439bb2db4ef10cd5a63a3b201a83937) | |
`-- [email protected] | |
npm WARN [email protected] No repository field. | |
Z:\workdir\PocketNode>node start | |
Z:\workdir\PocketNode\src\pocketnode\math\Vector3.js:188 | |
return ((this.x - pos.x) ** 2) + ((this.y - pos.y) ** 2) + ((this.z - pos.z) ** 2); | |
^ | |
SyntaxError: Unexpected token * | |
at createScript (vm.js:56:10) | |
at Object.runInThisContext (vm.js:97:10) | |
at Module._compile (module.js:542:28) | |
at Object.Module._extensions..js (module.js:579:10) | |
at Module.load (module.js:487:32) | |
at tryModuleLoad (module.js:446:12) | |
at Function.Module._load (module.js:438:3) | |
at Module.require (module.js:497:17) | |
at require (internal/module.js:20:19) | |
at global.pocketnode (Z:\workdir\PocketNode\src\pocketnode\utils\methods\Globals.js:9:12) | |
Z:\workdir\PocketNode>npm install Math.pow | |
npm ERR! Windows_NT 10.0.16299 | |
npm ERR! argv "Z:\\appdir\\node\\node.exe" "Z:\\appdir\\node\\node_modules\\npm\\bin\\npm-cli.js" "install" "Math.pow" | |
npm ERR! node v6.11.2 | |
npm ERR! npm v3.10.10 | |
npm ERR! code E404 | |
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/Math.pow | |
npm ERR! 404 | |
npm ERR! 404 'Math.pow' is not in the npm registry. | |
npm ERR! 404 Your package name is not valid, because | |
npm ERR! 404 1. name can no longer contain capital letters | |
npm ERR! 404 | |
npm ERR! 404 Note that you can also install from a | |
npm ERR! 404 tarball, folder, http url, or git url. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! Z:\workdir\PocketNode\npm-debug.log | |
Z:\workdir\PocketNode>npm install Math | |
[email protected] Z:\workdir\PocketNode | |
`-- [email protected] | |
npm WARN [email protected] No repository field. | |
Z:\workdir\PocketNode>node start | |
Z:\workdir\PocketNode\src\pocketnode\math\Vector3.js:188 | |
return ((this.x - pos.x) ** 2) + ((this.y - pos.y) ** 2) + ((this.z - pos.z) ** 2); | |
^ | |
SyntaxError: Unexpected token * | |
at createScript (vm.js:56:10) | |
at Object.runInThisContext (vm.js:97:10) | |
at Module._compile (module.js:542:28) | |
at Object.Module._extensions..js (module.js:579:10) | |
at Module.load (module.js:487:32) | |
at tryModuleLoad (module.js:446:12) | |
at Function.Module._load (module.js:438:3) | |
at Module.require (module.js:497:17) | |
at require (internal/module.js:20:19) | |
at global.pocketnode (Z:\workdir\PocketNode\src\pocketnode\utils\methods\Globals.js:9:12) | |
Z:\workdir\PocketNode>node start | |
[10:31:38] [Server > Info]: Loading PocketNode... | |
[10:31:38] [Server > Info]: Loading PocketNode a Minecraft: Bedrock Edition server for version 1.2.10 | |
[10:31:38] [Server > Info]: Loading server configuration... | |
Z:\workdir\PocketNode\src\pocketnode\utils\SimpleFileSystem.js:22 | |
return fs.copyFileSync(s, d); | |
^ | |
TypeError: fs.copyFileSync is not a function | |
at Function.copy (Z:\workdir\PocketNode\src\pocketnode\utils\SimpleFileSystem.js:22:19) | |
at new Server (Z:\workdir\PocketNode\src\pocketnode\Server.js:99:17) | |
at PocketNode (Z:\workdir\PocketNode\src\pocketnode\PocketNode.js:26:18) | |
at Object.<anonymous> (Z:\workdir\PocketNode\start.js:2:16) | |
at Module._compile (module.js:570:32) | |
at Object.Module._extensions..js (module.js:579:10) | |
at Module.load (module.js:487:32) | |
at tryModuleLoad (module.js:446:12) | |
at Function.Module._load (module.js:438:3) | |
at Module.runMain (module.js:604:10) | |
Z:\workdir\PocketNode>npm install fs | |
[email protected] Z:\workdir\PocketNode | |
`-- [email protected] | |
npm WARN [email protected] No repository field. | |
Z:\workdir\PocketNode>node start | |
[10:31:56] [Server > Info]: Loading PocketNode... | |
[10:31:56] [Server > Info]: Loading PocketNode a Minecraft: Bedrock Edition server for version 1.2.10 | |
[10:31:56] [Server > Info]: Loading server configuration... | |
Z:\workdir\PocketNode\src\pocketnode\utils\SimpleFileSystem.js:22 | |
return fs.copyFileSync(s, d); | |
^ | |
TypeError: fs.copyFileSync is not a function | |
at Function.copy (Z:\workdir\PocketNode\src\pocketnode\utils\SimpleFileSystem.js:22:19) | |
at new Server (Z:\workdir\PocketNode\src\pocketnode\Server.js:99:17) | |
at PocketNode (Z:\workdir\PocketNode\src\pocketnode\PocketNode.js:26:18) | |
at Object.<anonymous> (Z:\workdir\PocketNode\start.js:2:16) | |
at Module._compile (module.js:570:32) | |
at Object.Module._extensions..js (module.js:579:10) | |
at Module.load (module.js:487:32) | |
at tryModuleLoad (module.js:446:12) | |
at Function.Module._load (module.js:438:3) | |
at Module.runMain (module.js:604:10) | |
Z:\workdir\PocketNode>** to Math.pow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment