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

problems installing: No rule to make target 'node_modules/promise-polyfill/promise.js' #12

Closed
ddreyer opened this issue Jan 31, 2018 · 3 comments

Comments

@ddreyer
Copy link

ddreyer commented Jan 31, 2018

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?

@wh0
Copy link
Contributor

wh0 commented Jan 31, 2018

Do you maybe have a later version of promise-polyfill where the file names have changed?

@ddreyer
Copy link
Author

ddreyer commented Jan 31, 2018

not sure, but promise.js definitely exists

@Isan-Rivkin
Copy link

Isan-Rivkin commented Mar 27, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants