danakt / handlebars-to-jsx

Converts Handlebars template to React component
MIT License
57 stars 15 forks source link

Module not found: Error: Can't resolve './program' in #20

Closed imvetri closed 3 years ago

imvetri commented 4 years ago

Hi,

I think the published package is not built correctly. Here is the error I'm facing when I tried to use the tool.

image

Thanks, Vetri

imvetri commented 4 years ago

I resolved the issue,

Here is what I did.

npm i && npm run build

fnaquira commented 4 years ago

Where did you do this? I did it on the folder module but still got errors... Is there a way to solved on the main repository?

imvetri commented 4 years ago

@fnaquira can you try cd handlebars-to-jsx && npm i && npm run build

Rykus0 commented 4 years ago

I was able to resolve this temporarily by running build, as described. (noting that it is the subfolder under node_modules). I wanted to point out that the issue itself is not resolved, though.

salomvary commented 4 years ago

I have rebuilt and republished the package under @salomvary/handlebars-to-jsx.

Also added a command line utility: https://github.com/salomvary/handlebars-to-jsx#command-line-usage

danakt commented 3 years ago

Thank you! Fixed in 0.1.4