l1f7 / surface

:construction: Building blocks & guidelines for front-end at Lift (deprecated: unmaintained)
2 stars 1 forks source link

`npm run lock` throws `sed` error on linux... #14

Closed hyshka closed 6 years ago

hyshka commented 7 years ago

sed: can't read s/https:/http:/g: No such file or directory

I don't know if this is the same on other platforms but on linux sed only accepts one commant in single-quotes. Therefore, this completes the desired function:

sed -i 's/https:/http:/g' npm-shrinkwrap.json

hyshka commented 6 years ago

Closing. Removed npm run lock script since we're using package-lock.json file be default now.