Skip to content

Commit

Permalink
fix #462: add info about "ignore-scripts"
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Oct 16, 2020
1 parent 73573ea commit efb3350
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion npm/esbuild/bin/esbuild
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/env node
throw new Error(`esbuild: Failed to install correctly`);
throw new Error(`esbuild: Failed to install correctly
Make sure you don't have "ignore-scripts" set to true. You can check this with
"npm config get ignore-scripts". If that returns true you can reset it back to
false using "npm config set ignore-scripts false" and then reinstall esbuild.
`);

0 comments on commit efb3350

Please sign in to comment.