wp2vite icon indicating copy to clipboard operation
wp2vite copied to clipboard

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

Open hellowuxin opened this issue 3 years ago • 2 comments

image image

hellowuxin avatar Oct 12 '21 07:10 hellowuxin

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

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

WanQuanXie avatar Nov 09 '21 17:11 WanQuanXie

可否提供下demo?

dravenww avatar Nov 10 '21 02:11 dravenww