3 ms·
That cannot work at all! See inside /bin/parse-server: require("../lib/cli/parse-server"); The same with the package.json, it points to /lib/index.js. H
by franciscop 10y ago
That cannot work at all!
See inside /bin/parse-server:
require("../lib/cli/parse-server");
The same with the package.json, it points to /lib/index.js.
However there is no /lib folder, apparently its name is /src. So there is basically no possible way that is even able to run. How is this possible? Either someone linked /src to /lib (doesn't make sense) or they changed the name of the folder and didn't change anything else.
- bjacobel 10y agoFiles in src/ are run through Babel and output to lib/ as a prepublish step. The version that you download from NPM contains a lib/ directory. https://github.com/ParsePlatform/parse-server/blob/master/package.json#L71 https://github.com/ParsePlatform/parse-server/blob/master/pa...
- franciscop 10y agoThat makes sense, I would have put them in /dist though