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

My project folder is G:\....,and @permaweb/aos is installed in D:\,then I got the error #332

Open
xgocn opened this issue Aug 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@xgocn
Copy link

xgocn commented Aug 28, 2024

My project folder is G:....,and @permaweb/aos is installed in D:\,then I got the error


(base) PS G:\SOHO\WEB3.0\ARweavepermanDAO\aoapp> npm i -g https://get_ao.g8way.io

added 89 packages in 4s

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

then

(base) PS G:\SOHO\WEB3.0\ARweavepermanDAO\aoapp> aos farm
          _____                   _______                   _____
         /\    \                 /::\    \                 /\    \
        /::\    \               /::::\    \               /::\    \
       /::::\    \             /::::::\    \             /::::\    \
      /::::::\    \           /::::::::\    \           /::::::\    \
     /:::/\:::\    \         /:::/~~\:::\    \         /:::/\:::\    \
    /:::/__\:::\    \       /:::/    \:::\    \       /:::/__\:::\    \
   /::::\   \:::\    \     /:::/    / \:::\    \      \:::\   \:::\    \
  /::::::\   \:::\    \   /:::/____/   \:::\____\   ___\:::\   \:::\    \
 /:::/\:::\   \:::\    \ |:::|    |     |:::|    | /\   \:::\   \:::\    \
/:::/  \:::\   \:::\____\|:::|____|     |:::|    |/::\   \:::\   \:::\____\
\::/    \:::\  /:::/    / \:::\    \   /:::/    / \:::\   \:::\   \::/    /
 \/____/ \:::\/:::/    /   \:::\    \ /:::/    /   \:::\   \:::\   \/____/
          \::::::/    /     \:::\    /:::/    /     \:::\   \:::\    \
           \::::/    /       \:::\__/:::/    /       \:::\   \:::\____\
           /:::/    /         \::::::::/    /         \:::\  /:::/    /
          /:::/    /           \::::::/    /           \:::\/:::/    /
         /:::/    /             \::::/    /             \::::::/    /
        /:::/    /               \::/____/               \::::/    /
        \::/    /                 ~~                      \::/    /
         \/____/                                           \/____/

Welcome to AOS: Your operating system for AO, the decentralized open access supercomputer.
Type ".load-blueprint chat" to join the community chat and ask questions!

AOS Client Version: 1.12.0. 2024
Type "Ctrl-C" twice to exit

Your AOS process:  uhfP3m3kUMUk928K7YH3FAQlKm8oCD1dzRYoRQCp0o8

farm@aos-0.2.1[Inbox:1]> .update
node:fs:456
    return binding.readFileUtf8(path, stringToFlags(options.flag));
                   ^

Error: ENOENT: no such file or directory, open 'G:\nvm\node_global\node_modules\@permaweb\aos\process\utils.lua'
    at Object.readFileSync (node:fs:456:20)
    at file:///D:/nvm/node_global/node_modules/@permaweb/aos/src/commands/os.js:31:23
    at Array.map (<anonymous>)
    at Module.update (file:///D:/nvm/node_global/node_modules/@permaweb/aos/src/commands/os.js:30:6)
    at Interface.<anonymous> (file:///D:/nvm/node_global/node_modules/@permaweb/aos/src/index.js:334:21)
    at Interface.emit (node:events:519:28)
    at [_onLine] [as _onLine] (node:internal/readline/interface:416:12)
    at [_line] [as _line] (node:internal/readline/interface:887:18)
    at [_ttyWrite] [as _ttyWrite] (node:internal/readline/interface:1265:22)
    at ReadStream.onkeypress (node:internal/readline/interface:264:20) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'G:\\nvm\\node_global\\node_modules\\@permaweb\\aos\\process\\utils.lua'
}

Node.js v21.6.2

maybe a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@twilson63 @xgocn and others