You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
I know there was a previous issue with Mavericks, but I wanted to mention your suggestion of using -g is what made it work. When typing in '''npm install uglify-js''' I was still be presented with an error that uglifyjs was not installed. Appending the -g to end of the install allowed the script to run properly. Because of the output of the error it was hard to find the reasoning, as I was trying to fix it by exporting paths in my bash profile. It may be worth updating the readme to include a note about using -g if someone runs into errors.
The text was updated successfully, but these errors were encountered:
@fspinillo You don't need to install it globally if you install in the same directory that the build process will be run.
That is:
If you install UglifyJS globally (via npm install -g uglify-js), it will be installed to /usr/local/bin/uglifyjs and be available anywhere on your system that you try to run it.
If you download Particular Pinboard, cd into its directory, and do npm install uglify-js there, a node_modules/ directory containing UglifyJS will be created and can be used in the Particular Pinboard build process while in the particular-pinboard/ directory.
Ran into this issue in Yosemite. Using np install uglify-js while in the Particular Pinboard directory did not create a node_modules directory. I had to resort to np install uglify-js -g to successfully install Particular Pinboard.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I know there was a previous issue with Mavericks, but I wanted to mention your suggestion of using -g is what made it work. When typing in '''npm install uglify-js''' I was still be presented with an error that uglifyjs was not installed. Appending the -g to end of the install allowed the script to run properly. Because of the output of the error it was hard to find the reasoning, as I was trying to fix it by exporting paths in my bash profile. It may be worth updating the readme to include a note about using -g if someone runs into errors.
The text was updated successfully, but these errors were encountered: