You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/11/25 13:16:54 UTC

[GitHub] [incubator-echarts] jarben opened a new issue #13695: Multiple versions of echarts in one document

jarben opened a new issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695


   ### What problem does this feature solve?
   I should be able to run echarts version 4 together with echarts version 5 so that upgrading to the new version is easier 
   
   ### What does the proposed API look like?
   var echarts4 = require('echarts');
   var echarts5 = require('echarts5');
   
   // anything in the echarts5 shouldn't be global
   
   <!-- 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang commented on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-734050249


   Hi jarben.
   
   I think it's a problem with multiple npm version management. I found we can dot it after npm 6.9.0
   ```js
   npm install echarts@npm:echarts@4
   npm install echarts5@npm:echarts@5
   ```
   
   Then you can include two versions like your proposal API.
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] jarben commented on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
jarben commented on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-734159650


   Hi @pissang, that's cool, didn't know this is possible via npm, thanks for sharing:) Will give it a try, can't wait for the 5 final, awesome work as usually! 


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] anguof commented on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
anguof commented on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-755034228


   > Hi jarben.
   > 
   > I think it's a problem about multiple npm version management. I found we can dot it after npm 6.9.0
   > 
   > ```js
   > npm install echarts@npm:echarts@4
   > npm install echarts5@npm:echarts@5
   > ```
   > 
   > Then you can import two versions like your proposal API.
   > 
   > Check https://stackoverflow.com/questions/26414587/how-to-install-multiple-versions-of-package-using-npm
   
   Hi, When i install two versions as you saw, there has errors, my npm version is 6.14.0.
   ![image](https://user-images.githubusercontent.com/34739658/103721689-3fc90b00-5009-11eb-88cb-5bef4ccce799.png)
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang edited a comment on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-734050249


   Hi jarben.
   
   I think it's a problem about multiple npm version management. I found we can dot it after npm 6.9.0
   ```js
   npm install echarts@npm:echarts@4
   npm install echarts5@npm:echarts@5
   ```
   
   Then you can import two versions like your proposal API.
   
   Check https://stackoverflow.com/questions/26414587/how-to-install-multiple-versions-of-package-using-npm


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang edited a comment on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-734050249


   Hi jarben.
   
   I think it's a problem about multiple npm version management. I found we can dot it after npm 6.9.0
   ```js
   npm install echarts@npm:echarts@4
   npm install echarts5@npm:echarts@5
   ```
   
   Then you can import two versions like your proposal API.
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] anguof commented on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
anguof commented on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-755033488


   > Hi jarben.
   > 
   > I think it's a problem about multiple npm version management. I found we can dot it after npm 6.9.0
   > 
   > ```js
   > npm install echarts@npm:echarts@4
   > npm install echarts5@npm:echarts@5
   > ```
   > 
   > Then you can import two versions like your proposal API.
   > 
   > Check https://stackoverflow.com/questions/26414587/how-to-install-multiple-versions-of-package-using-npm
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] anguof removed a comment on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
anguof removed a comment on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-755033488


   > Hi jarben.
   > 
   > I think it's a problem about multiple npm version management. I found we can dot it after npm 6.9.0
   > 
   > ```js
   > npm install echarts@npm:echarts@4
   > npm install echarts5@npm:echarts@5
   > ```
   > 
   > Then you can import two versions like your proposal API.
   > 
   > Check https://stackoverflow.com/questions/26414587/how-to-install-multiple-versions-of-package-using-npm
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang edited a comment on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-734050249


   Hi jarben.
   
   I think it's a problem with multiple npm version management. I found we can dot it after npm 6.9.0
   ```js
   npm install echarts@npm:echarts@4
   npm install echarts5@npm:echarts@5
   ```
   
   Then you can import two versions like your proposal API.
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang commented on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-734182681


   Thanks!


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] anguof edited a comment on issue #13695: Multiple versions of echarts in one document

Posted by GitBox <gi...@apache.org>.
anguof edited a comment on issue #13695:
URL: https://github.com/apache/incubator-echarts/issues/13695#issuecomment-755034228


   > Hi jarben.
   > 
   > I think it's a problem about multiple npm version management. I found we can dot it after npm 6.9.0
   > 
   > ```js
   > npm install echarts@npm:echarts@4
   > npm install echarts5@npm:echarts@5
   > ```
   > 
   > Then you can import two versions like your proposal API.
   > 
   > Check https://stackoverflow.com/questions/26414587/how-to-install-multiple-versions-of-package-using-npm
   
   Hi, When i install two versions as you said, there has errors, my npm version is 6.14.0.
   ![image](https://user-images.githubusercontent.com/34739658/103721689-3fc90b00-5009-11eb-88cb-5bef4ccce799.png)
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org