Error: Cannot find module 'node-sass'
When I run
ng serve --port
got this error and try to install the node-sass
using the command
npm install node-sass
Then got the below
(ERROR in src/app/app.module.ts(40,36): error TS2307: Cannot find module '@zxing/ngx-scanner')
Then I install this npm i @zxing/ngx-scanner@1.3.0
.
But this time I got a first error which is
Error: Cannot find module 'node-sass'
please help, thanks
try this :
`npm install --save-dev node-sass`