LaravelDrive icon indicating copy to clipboard operation
LaravelDrive copied to clipboard

Can't install npm -i and watch,

Open alwismt opened this issue 5 years ago • 11 comments

Which Os you use for this projects, I tried with Cent Os, Kali Linux and parrot os

Something Wrong with project lot of errors showing when use npm

alwismt avatar May 07 '20 18:05 alwismt

I use docker with Linux ubuntu on my mac os. can you share errors so I can understand and solve it.

mshossain110 avatar May 07 '20 18:05 mshossain110

This is Centos Errors

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/bin/npm', 'run', 'watch' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prewatch', 'watch', 'postwatch' ]
5 info lifecycle @~prewatch: @
6 silly lifecycle @~prewatch: no script for prewatch, continuing
7 info lifecycle @~watch: @
8 verbose lifecycle @~watch: unsafe-perm in lifecycle true
9 verbose lifecycle @~watch: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/drive/public_html/LaravelDrive/node_modules/.bin:/usr/bin:/usr/local/cpanel/3rdparty/lib/path-bin:/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin:/opt/cpanel/composer/bin:/root/bin
10 verbose lifecycle @~watch: CWD: /home/drive/public_html/LaravelDrive
11 silly lifecycle @~watch: Args: [ '-c', 'npm run development -- --watch' ]
12 silly lifecycle @~watch: Returned: code: 1  signal: null
13 info lifecycle @~watch: Failed to exec watch script
14 verbose stack Error: @ watch: `npm run development -- --watch`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:920:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid @
16 verbose cwd /home/drive/public_html/LaravelDrive
17 error Linux 3.10.0-1062.el7.x86_64
18 error argv "/usr/bin/node" "/bin/npm" "run" "watch"
19 error node v6.17.1
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error @ watch: `npm run development -- --watch`
22 error Exit status 1
23 error Failed at the @ watch script 'npm run development -- --watch'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the  package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     npm run development -- --watch
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

alwismt avatar May 07 '20 18:05 alwismt

If you can upload project after npm installed, Thats pretty, Cause now npm not support for lot of os, :(

alwismt avatar May 07 '20 18:05 alwismt

can you update your node and npm version? currently, installed
node v6.17.1 npm v3.10.10

please update your node and npm

mshossain110 avatar May 07 '20 18:05 mshossain110

Sorry! Cent OS not support to update node and npm this is the version they support, I'm using German VPS with centOs, I can only access it thought vnc,

Anyway I have Kali Linux 2020 latest version on my PC,

Node -v
v10.19.0
npm -v
6.14.4

Using Lamp with Xampp Php version 7.2.

This is Kali Linux errors when hit npm run watch ,

Screenshot from 2020-05-08 18-58-18

This is view not Showing Loging Screenshot from 2020-05-08 18-59-08

alwismt avatar May 08 '20 13:05 alwismt

Also Your demo site is not working anymore :(

alwismt avatar May 08 '20 14:05 alwismt

  1. plyr issue is solved. please pull and run commend (npm i & npm run watch) again

  2. stared.vue file has an issue. I will solve it. ( need time)

  3. The login page does not have any issue (I am not finding this issue) it may possible for your URL. you should run in any server. php artisan serve can help you in your local server.

  4. The demo server is inactive now. I need to renew the server.

mshossain110 avatar May 08 '20 18:05 mshossain110

yeah! plyr is working now but still have vue compiling issue, php artisan serve thats okay but, When we host we rename artisan.php to index.php, So its should be work with normally without php artisan servethis code :)

alwismt avatar May 11 '20 21:05 alwismt

Hello, I am experiencing the same issue, just downloaded the project and I am trying to install it, but the login page doesn't show any kind of login form. Also when I try to run npm i it just gives me errors.

I am using vagrant with homestead to host my laravel projects.

Could you please help me?

Thanks in advance :)

image

image

LeonardoPastaDigital avatar May 26 '20 14:05 LeonardoPastaDigital

@LeonardoPastaDigital you make a command.

it will be npm install

mshossain110 avatar May 26 '20 15:05 mshossain110

@mshossain110 I've done it, didn't work, the only work around that i could find was use Laragon instead

LeonardoPastaDigital avatar May 26 '20 16:05 LeonardoPastaDigital