-
Notifications
You must be signed in to change notification settings - Fork 225
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
build时候错误 #46
Comments
plotly/dash-component-boilerplate#12 First answer worked for me
|
I found this problem was caused by the config of 'NODE_ENV' setting method in package.json. You can replace the package.json content with following code:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SG:json-schema-editor-visual siguang.liu$ yarn build
yarn run v1.7.0
warning package.json: License should be a valid SPDX license expression
$ NODE_ENV=production webpack
/Users/siguang.liu/Downloads/json/json-schema-editor-visual/node_modules/webpack-cli/bin/config-yargs.js:89
describe: optionsSchema.definitions.output.properties.path.description,
^
TypeError: Cannot read property 'properties' of undefined
at module.exports (/Users/siguang.liu/Downloads/json/json-schema-editor-visual/node_modules/webpack-cli/bin/config-yargs.js:89:48)
at /Users/siguang.liu/Downloads/json/json-schema-editor-visual/node_modules/webpack-cli/bin/webpack.js:60:27
at Object. (/Users/siguang.liu/Downloads/json/json-schema-editor-visual/node_modules/webpack-cli/bin/webpack.js:515:3)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: