zeeshanhanif / bootcamp2020

Basic Website for Bootcamp Practice
42 stars 29 forks source link

Surge installation issue #19

Open haqnawaz99 opened 4 years ago

haqnawaz99 commented 4 years ago

I am using MAC and not able to move ahead from surge, I got following error -bash: surge: command not found

code-loading commented 4 years ago

have you installed node.js and installed surge on your Mac?

haqnawaz99 commented 4 years ago

node version is as following haqnawaz$ node Welcome to Node.js v12.16.3.

following are the issues with the surge sudo npm install -- globally surge Password: npm WARN saveError ENOENT: no such file or directory, open '/Users/zahidhussain/package.json' npm WARN enoent ENOENT: no such file or directory, open '/Users/zahidhussain/package.json' npm WARN zahidhussain No description npm WARN zahidhussain No repository field. npm WARN zahidhussain No README data npm WARN zahidhussain No license field.

29 packages are looking for funding run npm fund for details

found 444 vulnerabilities (442 low, 2 high) run npm audit fix to fix them, or npm audit for details

haqnawaz99 commented 4 years ago

haqnawaz$ sudo npm isntall --global surge npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 /Users/zahidhussain/.npm-global/bin/surge -> /Users/zahidhussain/.npm-global/lib/node_modules/surge/lib/cli.js

code-loading commented 4 years ago

hmm, I googled your error and seems it's a common issue. Try some of the fixes described on this site: https://github.com/visionmedia/debug/issues/261

haqnawaz99 commented 4 years ago

Okay thanks I am already trying different things i found

code-loading commented 4 years ago

Alright. Good luck!

haqnawaz99 commented 4 years ago

I tried different things but not able to solve the issue yet.

code-loading commented 4 years ago

Then I would suggest to ask on stack overflow and provide screenshots and details about your issue. Someone over there would definitely be able to help 👍