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

[wp2vite-error]:Error: The NODE_ENV environment variable is required but was not specified. #44

Open
hellowuxin opened this issue Oct 12, 2021 · 2 comments

Comments

@hellowuxin
Copy link

image
image

@WanQuanXie
Copy link

这里是提示,运行命令前,需要 NODE_ENV 变量。这么试下这么来:

NODE_ENV=development wp2vite --config=./config/webpack.config.js

@dravenww
Copy link
Member

可否提供下demo?

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