Skip to content
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

当进入app/client目录编译运行命令yarn build时出现下面错误,该怎么处理? #10

Closed
cnsdytzy opened this issue Dec 5, 2022 · 2 comments

Comments

@cnsdytzy
Copy link

cnsdytzy commented Dec 5, 2022

当进入app/client目录编译运行命令yarn build时出现下面错误,该怎么处理?
Module not found: Error: You attempted to import /home/my/pageplug/app/client/node_modules/@tarojs/taro-h5/dist/index.cjs.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
You can either move it inside src/, or add a symlink to it from project's node_modules/.

@tonychen0716
Copy link

tonychen0716 commented Dec 23, 2022

同问.

@lifeneedspassion

@lifeneedspassion
Copy link
Contributor

已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants