Apostrophe CMS Main Site Forum Home

process.nextTick(function() { throw err; });


#1

hey guys ,

i really do need help with error , am using windows 10 and making fresh installation for apostrophe and keep getting this error when run node app.js or nodemon !!?

node app.js
E:\node-apostrophe\dvld-intermediate\node_modules\mongodb\lib\utils.js:123
process.nextTick(function() { throw err; });
^

Error: ENOTEMPTY: directory not empty, rmdir ‘E:\node-apostrophe\dvld-intermediate\public\modules\apostrophe-widgets\js’
at Object.rmdirSync (fs.js:680:3)
at rmkidsSync (E:\node-apostrophe\dvld-intermediate\node_modules\rimraf\rimraf.js:356:25)
at rmdirSync (E:\node-apostrophe\dvld-intermediate\node_modules\rimraf\rimraf.js:334:7)
at rimrafSync (E:\node-apostrophe\dvld-intermediate\node_modules\rimraf\rimraf.js:304:9)
at E:\node-apostrophe\dvld-intermediate\node_modules\rimraf\rimraf.js:342:5
at Array.forEach ()
at rmkidsSync (E:\node-apostrophe\dvld-intermediate\node_modules\rimraf\rimraf.js:341:26)
at rmdirSync (E:\node-apostrophe\dvld-intermediate\node_modules\rimraf\rimraf.js:334:7)
at Function.rimrafSync [as sync] (E:\node-apostrophe\dvld-intermediate\node_modules\rimraf\rimraf.js:304:9)
at Object.self.removeThenRecursiveCopy (E:\node-apostrophe\dvld-intermediate\node_modules\apostrophe\lib\modules\apostrophe-assets\index.js:760:18)
at Object.self.linkAssetFolderOnWindows (E:\node-apostrophe\dvld-intermediate\node_modules\apostrophe\lib\modules\apostrophe-assets\index.js:743:19)
at Object.self.linkAssetFolder (E:\node-apostrophe\dvld-intermediate\node_modules\apostrophe\lib\modules\apostrophe-assets\index.js:682:14) at E:\node-apostrophe\dvld-intermediate\node_modules\apostrophe\lib\modules\apostrophe-assets\index.js:646:14
at E:\node-apostrophe\dvld-intermediate\node_modules@sailshq\lodash\lib\index.js:3253:15 at baseForOwn (E:\node-apostrophe\dvld-intermediate\node_modules@sailshq\lodash\lib\index.js:2223:14)
at E:\node-apostrophe\dvld-intermediate\node_modules@sailshq\lodash\lib\index.js:3223:18


#2

Stack Overflow or the #get-help channel in the Apostrophe Discord server may be better places to ask a question like this. If in Stack Overflow I would recommend tagging it as a NodeJS question as well. I cannot guarantee that someone can solve the problem, but those places will have more people looking.