i5ting / koa-generator

Koa' application generator for 1.x and 2.x( Express-style and support all middlewares include async/await )
https://github.com/17koa/koa-generator
MIT License
972 stars 110 forks source link

centos npm install 失败 #60

Closed codeh2o closed 4 years ago

codeh2o commented 4 years ago

windows上npm install 成功 centos上npm install 失败 `# node -v v12.13.1

npm -v

6.12.1

koa2

npm install

npm WARN deprecated core-js@2.6.10: core-js@<3.0 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. npm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /var/nodejs/chart/node_modules/acorn-jsx/node_modules/acorn/package.json.2031230988 npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/var/nodejs/chart/node_modules/acorn-jsx/node_modules/acorn/package.json.2031230988' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-11-29T05_04_14_458Z-debug.log

`

codeh2o commented 4 years ago

Close the issue because It's caused by vagrant shared folder