question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

README says safe_browser uses node v8

See original GitHub issue

Prerequisites

  • 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:closed
  • Created 4 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
happybeingcommented, May 1, 2019

No, I wasn’t which would tie in with the behaviour you are describing I think

Indeed. The problem I had was only when trying to yarn link safe-app-nodejs

1reaction
happybeingcommented, Apr 30, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found