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

npm error building dockerized: cannot find module clone #356

Open
hsanjuan opened this issue Jul 6, 2021 · 0 comments
Open

npm error building dockerized: cannot find module clone #356

hsanjuan opened this issue Jul 6, 2021 · 0 comments
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@hsanjuan
Copy link
Contributor

hsanjuan commented Jul 6, 2021

I am building using ./dockerized make publish and I get:

** Building site **
npm run build

> [email protected] build
> npm run dist && npm run build:assets && npm run build:hugo


> [email protected] dist
> node scripts/dist.js

Updating hugo data for dist website
- Skipping site generations for fs-repo-0-to-1
- Skipping site generations for fs-repo-1-to-2
- Skipping site generations for fs-repo-10-to-11
- Skipping site generations for fs-repo-2-to-3
- Skipping site generations for fs-repo-3-to-4
- Skipping site generations for fs-repo-4-to-5
- Skipping site generations for fs-repo-5-to-6
- Skipping site generations for fs-repo-6-to-7
- Skipping site generations for fs-repo-7-to-8
- Skipping site generations for fs-repo-8-to-9
- Skipping site generations for fs-repo-9-to-10
- Generating site for fs-repo-migrations
- Fetching dist.json for fs-repo-migrations v2.0.1 from /ipns/dist.ipfs.io
- Generating site for go-ipfs
- Fetching dist.json for go-ipfs v0.9.0 from /ipns/dist.ipfs.io
- Generating site for gx
- Fetching dist.json for gx v0.14.2 from /ipns/dist.ipfs.io
- Generating site for gx-go
- Fetching dist.json for gx-go v1.9.0 from /ipns/dist.ipfs.io
- Generating site for ipfs-cluster-ctl
- Fetching dist.json for ipfs-cluster-ctl v0.13.3 from /ipns/dist.ipfs.io
- Generating site for ipfs-cluster-follow
- Fetching dist.json for ipfs-cluster-follow v0.13.3 from /ipns/dist.ipfs.io
- Generating site for ipfs-cluster-service
- Fetching dist.json for ipfs-cluster-service v0.13.3 from /ipns/dist.ipfs.io
- Generating site for ipfs-ds-convert
- Fetching dist.json for ipfs-ds-convert v0.6.0 from /ipns/dist.ipfs.io
- Generating site for ipfs-pack
- Fetching dist.json for ipfs-pack v0.6.0 from /ipns/dist.ipfs.io
- Generating site for ipfs-see-all
- Fetching dist.json for ipfs-see-all v1.0.0 from /ipns/dist.ipfs.io
- Generating site for ipfs-update
- Fetching dist.json for ipfs-update v1.7.1 from /ipns/dist.ipfs.io
- Generating site for ipget
- Fetching dist.json for ipget v0.7.0 from /ipns/dist.ipfs.io

> [email protected] build:assets
> npm run less:build && npm run webpack:build


> [email protected] less:build
> lessc site/assets/less/main.less --clean-css site/static/site.css

node:internal/modules/cjs/loader:944
  throw err;
  ^

Error: Cannot find module 'clone'
Require stack:
- /build/node_modules/less/bin/lessc
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
    at Function.Module._load (node:internal/modules/cjs/loader:774:27)
    at Module.require (node:internal/modules/cjs/loader:1013:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/build/node_modules/less/bin/lessc:8:19)
    at Module._compile (node:internal/modules/cjs/loader:1109:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
    at Module.load (node:internal/modules/cjs/loader:989:32)
    at Function.Module._load (node:internal/modules/cjs/loader:829:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/build/node_modules/less/bin/lessc' ]
}
npm notice
npm notice New minor version of npm available! 7.13.0 -> 7.19.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.19.1
npm notice Run npm install -g [email protected] to update!
npm notice
make: *** [Makefile:20: site] Error 1
@hsanjuan hsanjuan added the kind/bug A bug in existing code (including security flaws) label Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

1 participant