Skip to content
Advertisement

NPM gives ELILIFECYCLE error when trying to run npm run build on linux

I’m trying to build the project with sudo npm run build on linux but it give me this error:

JavaScript

package.json

JavaScript

index.js

JavaScript

Advertisement

Answer

JavaScript

JavaScript

run npm install --save react-qr-reader or yarn add react-qr-reader

you have react-qr-code, but not react-qr-reader

Advertisement