Comments (3)
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.
from node-secureworker.
Do you maybe have a later version of promise-polyfill where the file names have changed?
from node-secureworker.
not sure, but promise.js definitely exists
from node-secureworker.
Related Issues (19)
- meteor paths hardcoded HOT 2
- Port changes to original duktape source
- enclave-source.js missing HOT 3
- Additional packages required for bundling imports with browserify HOT 1
- Secureworker-create does not work HOT 2
- Consider switching duktape with QuickJS
- Enclaves won't build in new versions of Node.js
- command line length limit HOT 1
- Implement SecureWorker.getSGXVersion()
- Create CLI installer
- Can't build an enclave.so file due to missing import sgx_tae_service in duk_enclave file HOT 1
- Unable to run in simulation mode, only mock mode
- Make repository smaller HOT 1
- Implement quote command inside enclave HOT 1
- Implement report and remote attestation commands outside enclave HOT 2
- Prebuild binaries for platforms and publish the package
- Mock implementation should probably be all moved to this repository
- Document use and compilation with Linux SDK HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-secureworker.