File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -272,8 +272,8 @@ ENOENT: no such file or directory, chmod '[…]/lib/index.js'
272272
273273This happens because npm needs to symlink any files referenced in the ` bin `
274274field and make them executable, but this step is performed before ` postinstall ` .
275- ` postinstall-build ` can’t do anything to address this shortcoming, but the
276- solution is simple . Create a simple non-built file (that is, not created during
275+ ` postinstall-build ` can’t do anything to address this shortcoming, but there is
276+ an easy workaround . Create a simple non-built file (that is, not created during
277277the build step) that imports the built file you actually want to target. For
278278example, you could create a top-level file called ` cli.js ` like so:
279279
You can’t perform that action at this time.
0 commit comments