Skip to content

Instantly share code, notes, and snippets.

@haniokasai
Created March 14, 2018 01:32
Show Gist options
  • Save haniokasai/c4ecf233fb3cb7063fc7d8b1529090c6 to your computer and use it in GitHub Desktop.
Save haniokasai/c4ecf233fb3cb7063fc7d8b1529090c6 to your computer and use it in GitHub Desktop.
pocketnodememo
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
`-- bedrockws@1.0.0 (git+https://github.com/eDroiid/BedrockWS.git#a9de5849d1b665c5e7ff8f9aa97732f4d2e2bdc4)
+-- uuid@3.2.1
`-- ws@3.3.3
+-- async-limiter@1.0.0
+-- safe-buffer@5.1.1
`-- ultron@1.1.1
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
pocketnode@0.0.5 Z:\workdir\PocketNode
+-- adm-zip@0.4.7
+-- jsdoc@3.5.5
| +-- babylon@7.0.0-beta.19
| +-- bluebird@3.5.1
| +-- catharsis@0.8.9
| | `-- underscore-contrib@0.3.0
| | `-- underscore@1.6.0
| +-- escape-string-regexp@1.0.5
| +-- js2xmlparser@3.0.0
| | `-- xmlcreate@1.0.2
| +-- klaw@2.0.0
| | `-- graceful-fs@4.1.11
| +-- marked@0.3.17
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- requizzle@0.2.1
| | `-- underscore@1.6.0
| +-- strip-json-comments@2.0.1
| +-- taffydb@2.6.2
| `-- underscore@1.8.3
+-- pocketnode-binarystream@0.0.2 (git+https://github.com/PocketNode/PocketNode-BinaryStream.git#1408d60c3cdea5cacb94a6d6a20b2c884678bf32)
+-- pocketnode-language@0.0.1 (git+https://github.com/PocketNode/PocketNode-Language.git#d36c23f448f599636e4f8705bc15adcc6e0fb9cd)
+-- raknet@1.0.1 (git+https://github.com/PocketNode/RakNet.git#f360f66b6439bb2db4ef10cd5a63a3b201a83937)
`-- time-stamp@2.0.0
npm WARN pocketnode@0.0.5 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
pocketnode@0.0.5 Z:\workdir\PocketNode
`-- Math@0.0.1-security
npm WARN pocketnode@0.0.5 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
pocketnode@0.0.5 Z:\workdir\PocketNode
`-- fs@0.0.1-security
npm WARN pocketnode@0.0.5 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