-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node cannot find module 'gonzales-pe' #245
Comments
Because you installed it directly from Github I believe you'll have to build it before you can use the package. Might not be correct but you can try moving into the gonzales-pe folder and running
see here and then try using the package again. |
Hey. I have installed the package again using |
Yes it is it's just that there is a build step involved. Before publishing to NPM a build step is invoked and that output is pushed to NPM whereas obvously targeting Github means that pre-publish hasn't happened. I agree that it's probably a good idea to document this in the Readme though. |
Hey guys! There was a I completely forgot about it since then and never restored it back. I'll take a look after v4.0 release. |
Related issue: #149 |
@tbassetto, could you please test installing |
If it's a purely bash script it won't be suitable.. Bash might work on the latest windows but for legacy it will fail.. If we want to keep it pure we should look at node postinstall scripts |
Talking of which - after updating the dep to v4 getting;
|
Thanks for the news, guys. I've removed the script, released 4.0.1 without it and will just update docs, so we will live without GitHub installations. |
I can change this to a |
I have followed the instructions in the README to install parser as a project dependency:
And I am using it like this:
But I get:
I suspect it's because
package.json
has"./lib/gonzales"
for the"main"
property, which doesn't exist!How to use the parser in a node project then?
The text was updated successfully, but these errors were encountered: