0

i trying to deploy fornt-end site on Surge but when i try to install surge client into osx with

npm install --global surge

i get following error message

no such file or directory, open '/Users/mac/package.json'

Inside Surge getting started page there is no reference to this error.

My nodejs version is 8.9.4 Some one had same problem? Thanks

Community
  • 1
  • 1
an_droid_dev
  • 1,136
  • 14
  • 18

1 Answers1

0

Looking here i found the problem.

So instead of using

npm install --global surge

i should use

npm install --g surge
an_droid_dev
  • 1,136
  • 14
  • 18