yingwang2 opened a new issue #10638: npm install error after cloning 
incubator-echarts by git
URL: https://github.com/apache/incubator-echarts/issues/10638
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   System: MacOs 10.14
   
   npm version: 6.9.0
   
   Steps:
   1. Fork incubator-echarts
   2. In my local computer terminal, run "git clone 
https://github.com/mygitname/incubator-echarts.git";
   3. cd "incubator-echarts" directory
   4. run "npm install"
   
   Error occured:
   ENOENT: no such file or directory, rename 
'\~/incubator-echarts/node_modules/.staging/zrender-18a9b0d0/node_modules/@babel/code-frame'
 -> '~/incubator-echarts/node_modules/.staging/@babel/code-frame-9fc56fe7
   
   ### What is expected?
   Although this error can be solved by deleting the package-lock.json file, is 
it possible to avoid this error?
   
   ### What is actually happening?
   I fixed the error by: 
   
   1. delete package-lock.json
   2. run "npm install"
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to