Updating nodejs
solved the issue:
npm cache clean -f
sudo npm install -g n
sudo n stable
node --version
node app.js
You have to run the second and third command as root/administrator.
More Related Contents:
- Return value in function from a promise block
- Set value of input instead of sendKeys() – Selenium WebDriver nodejs
- ChromeDriver Error: ‘chromedriver’ executable needs to be in PATH [duplicate]
- How to get GET (query string) variables in Express.js on Node.js?
- The difference between “require(x)” and “import x”
- find_element_by_* commands are deprecated in selenium
- nvm keeps “forgetting” node in new terminal session
- Many process of Google Chrome (32 bit)
- Express.js – app.listen vs server.listen
- How to install node.js as windows service?
- How to solve npm install throwing fsevents warning on non-MAC OS?
- Is it possible to locate element by partial id match in Selenium
- Express JS use async function on requests
- Any way to force strict mode in node?
- Importing node-modules with TypeScript
- Which Firefox version is compatible with Selenium 3.6.0
- Why do some elements exist but not interactable/displayed?
- Why use peer dependencies in npm for plugins?
- Having a hard time trying to understand ‘next/next()’ in express.js
- How can we use Selenium Webdriver in colab.research.google.com?
- How do I fix a vulnerable npm package in my package-lock.json that isn’t listed in the package.json?
- Error: “The operation was rejected by your operating system” when trying to create new angular project using windows powershell
- How to use D3 in Node.js properly?
- Setting a proxy for Chrome Driver in Selenium
- Fail to connect Mongoose to Atlas
- npm: Why is a version “0.1” invalid?
- How to organise file structure of backend and frontend in MERN
- fs.createWriteStream does not immediately create file?
- What’s the difference between dependencies, devDependencies, and peerDependencies in NPM package.json file?
- How to limit upload file size in express.js