-
Notifications
You must be signed in to change notification settings - Fork 85
Error: This file should not be required #423
Comments
I get the same
On the other hand, Nodejs doesn't do it
The code that "fails" is
as far as I see, the demand of this library shelljs to have .exec only be used directly from the command line (as explained here https://stackoverflow.com/questions/45136831/node-js-require-main-module ) is perhaps a no-solve for a self-hosted clojurescript. But maybe there's a way to hack lumo so that it defers the require.main setter, if doing that could be consequent free thing to do. |
🙄 I might just fork shelljs then. Seems inconsequential. |
probably related to #285 |
Any update on this issue? I am also facing this issue. I am trying to use shelljs echo (to output something to a file) and exec methods to execute 'sudo update-ca-certificates'. I get an error "This file should not be required." in exec-child.js |
I'm attempting to use shelljs for some command-line scripts.
Using the built-ins like
cd
andls
work fine. However, attempting to useexec
throws this strange error:Simple repro steps:
Lumo version: 1.9.0-alpha
Node.js version: 8.9.1 and 10.3.0
Shelljs version: 0.8.2
The text was updated successfully, but these errors were encountered: