Skip to content

afs package error: ENOENT: no such file or directory, open '/package.json' #2

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

Closed
gumplei opened this issue Jun 22, 2021 · 0 comments
Closed

Comments

@gumplei
Copy link

gumplei commented Jun 22, 2021

After import the package '@alicloud/afs20180112', our program will throw the following exception

internal/fs/utils.js:230
    throw err;
    ^

Error: ENOENT: no such file or directory, open '/package.json'
    at Object.openSync (fs.js:462:3)
    at Object.readFileSync (fs.js:364:35)
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