-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
发布的源码中包含babel引用,导致启动报错 #66
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我是用的项目是Vue Cli 5版本,安装el-select-tree后启动会报一下错误。原因是源码中有babel的引用,项目又对node_modules进行了编译。
![image](https://private-user-images.githubusercontent.com/38392315/284118166-85763443-8c78-496d-a413-9a7d59a44269.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzNjc1MzEsIm5iZiI6MTcyMjM2NzIzMSwicGF0aCI6Ii8zODM5MjMxNS8yODQxMTgxNjYtODU3NjM0NDMtOGM3OC00OTZkLWE0MTMtOWE3ZDU5YTQ0MjY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMwVDE5MjAzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzYTAyNDUwOWQ0NWYxMGU2ZTI0MDdjMzRiNjQ4ZDkwZjkxM2M1YjQ3NjUyOGIzNzIyNGVkZjc5MTFhMzhiOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tXo8ZBhCybZNl-nRzwVwPHfgQgebgUiJAHFPY0xviCg)
目前我需要手动让babel忽略整个node_modules包,这样才能正常进入项目。
The text was updated successfully, but these errors were encountered: