Git Product home page Git Product logo

Comments (9)

krystalmonolith avatar krystalmonolith commented on July 19, 2024

I deleted both the client node_modules and the server node_modules, ran the npm install command in both directories, and they completed without a fatal error.. Why they acted differently 2 hours apart is a mystery.

A side issues is the client package.json devDependencies needed the webpack-merge package added to make ng serve not throw errors. But all it now works.

EDITED 20210920: <Doh!> I meant I deleted the node_modules directories... Not the package.json files.

from generator-jhipster-nodejs.

 avatar commented on July 19, 2024

Thanks for the issue!! However if you delete the package.json files you don't resolve your issue because the installing phase is necessary. Maybe you have errors for the nodejs version. Check your prerequisites. Thanks

from generator-jhipster-nodejs.

erkieh avatar erkieh commented on July 19, 2024

I get the same errors when using npm V7
NPM v6 reports these same issues as warnings
https://github.com/jhipster/generator-jhipster-nodejs/runs/3526992652?check_suite_focus=true#step:9:202

from generator-jhipster-nodejs.

krystalmonolith avatar krystalmonolith commented on July 19, 2024

Thanks for the issue!! However if you delete the package.json files you don't resolve your issue because the installing phase is necessary. Maybe you have errors for the nodejs version. Check your prerequisites. Thanks

I meant I deleted the node_modules directories... Not the package.json files. Comment has been corrected.

from generator-jhipster-nodejs.

enixlabs avatar enixlabs commented on July 19, 2024
7.24.0
v14.17.6

Exact same issue and running on a dedicated server.

from generator-jhipster-nodejs.

 avatar commented on July 19, 2024

Please check the correct node.js version. NHipster, as suggested in its requirement, uses 14.16.0 version.

from generator-jhipster-nodejs.

krystalmonolith avatar krystalmonolith commented on July 19, 2024

Closing this issue as node/npm versions are too varied to reliably reproduce this issue.

from generator-jhipster-nodejs.

enixlabs avatar enixlabs commented on July 19, 2024
npm config set user 0
npm config set unsafe-perm true

Fixed issues as above.

from generator-jhipster-nodejs.

jelharou avatar jelharou commented on July 19, 2024
npm config set user 0
npm config set unsafe-perm true

Fixed issues as above.

Did not help, but downgrading to node 14 did resolve it.

from generator-jhipster-nodejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.