Skip to content
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

JSBUILD failed when init from scratch #928

Open
liolok opened this issue Apr 23, 2024 · 2 comments
Open

JSBUILD failed when init from scratch #928

liolok opened this issue Apr 23, 2024 · 2 comments

Comments

@liolok
Copy link

liolok commented Apr 23, 2024

Question

I followed the steps from official documentation and hugo server -w says this:

hugo v0.125.3+extended linux/amd64 BuildDate=unknown

ERROR JSBUILD: failed to transform "/scripts/application.js" (text/javascript): Could not resolve "cytoscape/dist/cytoscape.umd.js"
Built in 2165 ms
Error: error building site: JSBUILD: failed to transform "/scripts/application.js" (text/javascript): Could not resolve "cytoscape/dist/cytoscape.umd.js"

Also, direct run locally on fork of hugo-toha.github.io works just fine.

@liolok
Copy link
Author

liolok commented Apr 23, 2024

Dependencies check:

> go version; node --version; npm --version
go version go1.22.2 linux/amd64
v21.7.3
10.5.2

@hossainemruz
Copy link
Member

Hi @liolok! I just tried the steps in the doc. It is working as expected.

This is my hugo version:

hugo v0.125.6+extended linux/amd64 BuildDate=2024-05-05T10:52:52Z VendorInfo=brew

These are my dependency versions:

go version go1.22.2 linux/amd64
v20.7.0
10.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants