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

doc: no such file or directory, scandir 'www/nodejs-project' #335

Open
chethan415 opened this issue Aug 16, 2021 · 0 comments
Open

doc: no such file or directory, scandir 'www/nodejs-project' #335

chethan415 opened this issue Aug 16, 2021 · 0 comments

Comments

@chethan415
Copy link

when I try to build an ionic Cordova build android,

node module file is auto-deleted from the www folder , s and showing this error
.rror: ENOENT: no such file or directory, scandir 'www/nodejs-project'
at Object.readdirSync (fs.js:1043:3)
at enumFolder (/Users/srikantkadgi/Documents/Ptest/plugins/nodejs-mobile-cordova/install/hooks/android/after-prepare-build-node-assets-lists.js:8:18)
at createFileAndFolderLists (/Users/srikantkadgi/Documents/Ptest/plugins/nodejs-mobile-cordova/install/hooks/android/after-prepare-build-node-assets-lists.js:37:5)
at /Users/srikantkadgi/Documents/Ptest/plugins/nodejs-mobile-cordova/install/hooks/android/after-prepare-build-node-assets-lists.js:54:5
at new Promise ()
at module.exports (/Users/srikantkadgi/Documents/Ptest/plugins/nodejs-mobile-cordova/install/hooks/android/after-prepare-build-node-assets-lists.js:53:10)
at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:32)
at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:136:12)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:108:40 {
errno: -2,
syscall: 'scandir',
code: 'ENOENT',
path: 'www/nodejs-project'
}

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

1 participant