Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some packages are not installed correctly or missing #26

Open
simkuns opened this issue Mar 17, 2016 · 2 comments
Open

Some packages are not installed correctly or missing #26

simkuns opened this issue Mar 17, 2016 · 2 comments

Comments

@simkuns
Copy link

simkuns commented Mar 17, 2016

Step 1. Importing git repository

git clone https://github.com/maxogden/voxel-hello-world.git

Step 2. Do the first time setup

cd voxel-hello-world
npm install

Step 3. Run the start script

npm start

This gives the output:

> [email protected] start C:\Users\homw\Documents\voxel-hello-world
> beefy test.js:bundle.js 8080

listening on 8080
using .\node_modules\.bin\browserify

When you open http://localhost:8080 you get the following error in console and in npm-debug.log

console:

200   13ms    1.08KB /index.html
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\Users\homw\Documents\voxel-hello-world\node_modules\.bin\browser
ify ENOENT
  at exports._errnoException (util.js:870:11)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
  at onErrorNT (internal/child_process.js:344:16)
  at nextTickCallbackWith2Args (node.js:442:9)
  at process._tickCallback (node.js:356:17)


npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x8
6)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.4.0
npm ERR! npm  v2.14.20
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `beefy test.js:bundle.js 8080`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'beefy test.js:bundl
e.js 8080'.
npm ERR! This is most likely a problem with the voxel-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     beefy test.js:bundle.js 8080
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs voxel-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls voxel-hello-world
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\homw\Documents\voxel-hello-world\npm-debug.log

npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: `beefy test.js:bundle.js 8080`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\lifecycle.js:214:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:827:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid [email protected]
11 verbose cwd C:\Users\homw\Documents\voxel-hello-world
12 error Windows_NT 6.1.7601
13 error argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
14 error node v4.4.0
15 error npm  v2.14.20
16 error code ELIFECYCLE
17 error [email protected] start: `beefy test.js:bundle.js 8080`
17 error Exit status 1
18 error Failed at the [email protected] start script 'beefy test.js:bundle.js 8080'.
18 error This is most likely a problem with the voxel-hello-world package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     beefy test.js:bundle.js 8080
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs voxel-hello-world
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls voxel-hello-world
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

However, I was able to fix this error by simply typing:

npm install beefy
npm install browserify
npm start
@memoriasIT
Copy link

memoriasIT commented Jun 24, 2019

God bless you brother.
For me to work I had to do:

npm uninstall beefy
npm uninstall browserify

npm install beefy
npm install browswerify
npm install voxel-walk

npm start

@kumavis
Copy link

kumavis commented Nov 22, 2022

#27 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants