Skip to content

Issue on sudo make run #6

Description

@TheMathGuyd

I was able to follow the steps before this one. Asymptote itself is installed and functioning on this Debian 11 ARM VM. I get this error after sudo make run:

asymptote is not in the sudoers file. This incident will be reported

I switched to root, since it should have no problem with sudo

root@debian:/home/asymptote/asymptote-server# sudo make run
rm -rf clients/*
node server.js
internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'fs' imported from /home/asymptote/asymptote-server/serverAnalyzer.js
    at packageResolve (internal/modules/esm/resolve.js:664:9)
    at moduleResolve (internal/modules/esm/resolve.js:705:18)
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:798:11)
    at Loader.resolve (internal/modules/esm/loader.js:100:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:246:28)
    at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:47:40)
    at link (internal/modules/esm/module_job.js:46:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}
make: *** [Makefile:38: run] Error 1

Any guidance? Seems like the issue is with the fs module. I understand this is typically built in to nodejs but as someone unfamiliar with javascript, I cannot tell what the issue is.

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions