chanvis icon indicating copy to clipboard operation
chanvis copied to clipboard

windows 环境, 安装包问题

Open digger-yu opened this issue 9 months ago • 3 comments

PS D:\git\chanvis\ui> npm run serve

> [email protected] serve D:\git\chanvis\ui
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting CopyPlugin

 ERROR  Failed to compile with 1 error                                                                          13:00:26
This relative module was not found:

* ../../public/charting_library in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChanContainer.vue?vue&type=script&lang=js

运行npm run serve的时候报错

PS D:\git\chanvis\ui>
PS D:\git\chanvis\ui> npm -v
10.5.0
PS D:\git\chanvis\ui> yarn -v
1.22.22
PS D:\git\chanvis\ui> python --version
Python 3.10.11
PS D:\git\chanvis\ui>

请帮忙看看

digger-yu avatar May 05 '24 12:05 digger-yu

You need to copy a DIR. https://github.com/tradingview/charting-library-examples/blob/master/vuejs/README.md From this website, you can see that the author copy a Vue2 dir from <tradingview/charting-library-examples> However the charting_library/ is NOT exist now.

dzmjs avatar Jun 26 '24 06:06 dzmjs

https://github.com/gaoming13/tradingview In this website, you can see the ZIP format file. Yes, it is the correct ZIP file. I have validated the file in this project.

dzmjs avatar Jun 26 '24 08:06 dzmjs

https://github.com/gaoming13/tradingview In this website, you can see the ZIP format file. Yes, it is the correct ZIP file. I have validated the file in this project.

hi 请问是复制压缩文件的全部内容到public目录还是仅仅复制压缩文件中的charting_library 子目录下的内容到public目录下

├─.github
│  └─ISSUE_TEMPLATE
├─charting_library
│  └─static
│      ├─bundles
│      ├─fonts
│      ├─images
│      │  ├─charting_library
│      │  ├─dialogs
│      │  ├─sidetoolbar
│      │  └─svg
│      │      └─chart
│      └─lib
│          └─external
└─datafeeds
    └─udf
        ├─dist
        ├─lib
        └─src

两种我都试过, 还是报同样的错误

digger-yu avatar Aug 11 '24 12:08 digger-yu