Swig module not found #70

Closed
opened 6 months ago by Aqua22 · 0 comments
Aqua22 commented 6 months ago (Migrated from github.com)
Owner

Hello!
When I type in make into the terminal I get this error:

root@uguu:/var/www/uguu# make
mkdir -p /var/www/uguu/build /var/www/uguu/build/img
mkdir -p /var/www/uguu/build/classes /var/www/uguu/build/includes
"npm" install

up to date, audited 49 packages in 3s

2 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (1 low, 2 high)

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
"node" node_modules/swig/bin/swig.js render -j dist.json templates/faq.swig > /var/www/uguu/build/faq.html
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '/var/www/uguu/node_modules/swig/bin/swig.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v17.3.0
make: *** [Makefile:16: swig] Error 1
Hello! When I type in `make` into the terminal I get this error: ``` root@uguu:/var/www/uguu# make mkdir -p /var/www/uguu/build /var/www/uguu/build/img mkdir -p /var/www/uguu/build/classes /var/www/uguu/build/includes "npm" install up to date, audited 49 packages in 3s 2 packages are looking for funding run `npm fund` for details 3 vulnerabilities (1 low, 2 high) Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. "node" node_modules/swig/bin/swig.js render -j dist.json templates/faq.swig > /var/www/uguu/build/faq.html node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module '/var/www/uguu/node_modules/swig/bin/swig.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v17.3.0 make: *** [Makefile:16: swig] Error 1 ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.