README says safe_browser uses node v8
See original GitHub issuePrerequisites
- Using yarn
- Using an up-to-date master branch
- Link to stacktrace in a Gist (for bugs)
Expected Behavior
I’m running a local dev browser (no mods yet) with yarn link to a local safe_app_nodejs (no mods yet). I expect the browser to start and function as normal.
Current Behavior
When I run the browser with NODE_ENV=dev yarn dev
the console includes uncaught exceptions which report that safe_app_nodejs is using a different node version to the browser. The browser window doesn’t appear.
The Browser README says:
Node.js ^8.0.0 (we recommend installing it via nvm)
safe_app_nodejs README says:
Node.js ^10.0.0 (we recommend installing it via nvm)
Possible Solution
Changing the browser to use nodejs v10 appears to fix this issue, so I think the safe_browser README is incorrect. What is the correct version of nodejs to use with SAFE Browser?
Steps to Reproduce (for bugs)
Context
Your Environment
- Operating System and version : Ubuntu 18.10
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
node-safe/readme.md at master - GitHub
node -safe is an easy to use companion for your regular node and uses native macOS sandboxing features to control file system access,...
Read more >Why the Hell Would I Use Node.js? A Case-by-case Tutorial
Learn why and when to use Node.js in this case-by-case tutorial. ... The browser catches the 'Send' button click through a JavaScript handler....
Read more >Introducing WebContainers: Run Node.js natively in your ...
Secure by default. All code execution happens inside the browser's security sandbox, not on remote VMs or local binaries.
Read more >Node JS Tutorial: The Basics
Node.js runs the high-performance V8 JavaScript engine, the core of Google Chrome, outside of the browser. Node.js uses asynchronous programming. It ...
Read more >node-secure - npm
node -secure · Description · Server-side must be secured! · V8 means ECMAScript 5 · spoon="strict mode"; there is no spoon! · What...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Indeed. The problem I had was only when trying to
yarn link safe-app-nodejs
Thanks @bochaco, I’ll close this. If I need to come back to it I’ll have another go, but maybe it will just work. Sorry if its been a wild goose chase.