SashiDo / content-moderation-image-api

An NSFW Image Classification REST API for effortless Content Moderation built with Node.js, Tensorflow, and Parse Server
https://blog.sashido.io/content-moderation-service-with-nodejs-tensorflowjs-and-reactjs-part-1-restful-api-service/
Apache License 2.0
65 stars 19 forks source link

npm install error #2

Closed ijn115449 closed 3 years ago

ijn115449 commented 3 years ago

err pls help me

ijn115449 commented 3 years ago

2020-09-01T21_05_29_748Z-debug.log

pivanov commented 3 years ago

Hey, It looks that there is an issue with the postinstall script. Can you try to run npm install --ignore-scripts this will skip the postinstall script. If everything is OK. Than you can run npm run dev.

P.S. Don't remove the postinstall script. You will need it when you deploy your app to SashiDo.

ijn115449 commented 3 years ago

err2 2020-09-02T15_06_45_459Z-debug.log

pivanov commented 3 years ago

Hmm ... it looks that some package have issues running on Windows. Let's try to isolate the problem. Can you try:

  1. run npm run build
  2. run npm run dev:cloud
  3. run npm run dev:parse-server

If all 3 steps work separately it means that "npm-run-all" has some issues on Windows. Thanks for your help!

ijn115449 commented 3 years ago

hey , i try npm install and npm run dev on WSL,it's work so that is windows platform problem. work1

thank you