Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
No migrations on readonly (#374)
Browse files Browse the repository at this point in the history
* Don't try to run migrations on browse-readonly; causes installation to fail

* Don't try to use package-lock file when installing (permissions error)

* Update package-lock.json and apply correct permissions to it before attempting to install
  • Loading branch information
hardiesoft authored May 3, 2021
1 parent b8350a8 commit f6d9f3a
Show file tree
Hide file tree
Showing 2 changed files with 6,345 additions and 255 deletions.
1 change: 1 addition & 0 deletions _release/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ if [[ `stat -c '%U' node_modules` != "fullnoise" ]]; then
rm -rf node_modules
mkdir node_modules
chown fullnoise:fullnoise node_modules
chown fullnoise:fullnoise package-lock.json
fi

section "Installing dependencies"
Expand Down
Loading

0 comments on commit f6d9f3a

Please sign in to comment.