This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

npm ci command not working. When I'm installing the cat tracker web application

Hey, I'm trying to install the cat tracker application. When I'm executing the npm ci command. It is prompting the following error

ubuntu@ip-172-31-25-55:~/aws/nrf-asset-tracker-firmware-aws/cat-tracker-web-app$ npm ci
npm ERR! fsevents not accessible from jest-haste-map

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2021-05-29T15_17_05_201Z-debug.log

Can anyone help me in solving this. 

Parents
  • I can't reproduce this:

    root@42a4b26c6299:/asset-tracker-cloud-app-js# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 18.04.5 LTS
    Release:        18.04
    Codename:       bionic
    root@42a4b26c6299:/asset-tracker-cloud-app-js# node -v
    v14.17.0
    root@42a4b26c6299:/asset-tracker-cloud-app-js# npm -v
    7.15.1
    root@42a4b26c6299:/asset-tracker-cloud-app-js# npm ci
    npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0
    npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
    npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
    npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
    npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
    npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
    npm WARN deprecated [email protected]: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
    npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
    npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
    npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
    
    > @nordicsemiconductor/[email protected] postinstall
    > husky install
    
    husky - Git hooks installed
    
    added 4097 packages, and audited 4098 packages in 45s
    
    177 packages are looking for funding
      run `npm fund` for details
    
    87 vulnerabilities (2 low, 84 moderate, 1 high)
    
    To address issues that do not require attention, run:
      npm audit fix
    
    To address all issues (including breaking changes), run:
      npm audit fix --force
    
    Run `npm audit` for details.
    root@42a4b26c6299:/asset-tracker-cloud-app-js# 
    

    Which version of Node.js and NPM do you have?

Reply
  • I can't reproduce this:

    root@42a4b26c6299:/asset-tracker-cloud-app-js# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 18.04.5 LTS
    Release:        18.04
    Codename:       bionic
    root@42a4b26c6299:/asset-tracker-cloud-app-js# node -v
    v14.17.0
    root@42a4b26c6299:/asset-tracker-cloud-app-js# npm -v
    7.15.1
    root@42a4b26c6299:/asset-tracker-cloud-app-js# npm ci
    npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0
    npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
    npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
    npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
    npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
    npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
    npm WARN deprecated [email protected]: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
    npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
    npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
    npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
    
    > @nordicsemiconductor/[email protected] postinstall
    > husky install
    
    husky - Git hooks installed
    
    added 4097 packages, and audited 4098 packages in 45s
    
    177 packages are looking for funding
      run `npm fund` for details
    
    87 vulnerabilities (2 low, 84 moderate, 1 high)
    
    To address issues that do not require attention, run:
      npm audit fix
    
    To address all issues (including breaking changes), run:
      npm audit fix --force
    
    Run `npm audit` for details.
    root@42a4b26c6299:/asset-tracker-cloud-app-js# 
    

    Which version of Node.js and NPM do you have?

Children
Related