Closed ddreyer closed 5 years ago
Do you maybe have a later version of promise-polyfill where the file names have changed?
not sure, but promise.js definitely exists
Same issue, I did a quick-fix by adding a full path to the promise.js file in the Makefile inside node_modules/secureworker
enclave-autoexec/autoexec.js: enclave-autoexec/index.js /home/wildermind/Desktop/delete/node_modules/promise-polyfill/promise.js ./node_modules/.bin/browserify --insert-global-vars __filename,__dirname --no-commondir $< > $@
Then, I got a following error saying I don't have browserify so I just did
npm install --save browserify
and it worked.
EDIT: After looking into it more, the problem is that the Makefile looks inside the node_modules directory of /node_modules/secureworker/node_modules instead of the root node_modules. Basically there are 2 folders, 1 is missing the required module.
Running npm install and I get the following error: make: *** No rule to make target 'node_modules/promise-polyfill/promise.js', needed by 'enclave-autoexec/autoexec.js'. Stop. Any suggestions on how to fix this?