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

demo error #1

Open
nlefebvre1410 opened this issue Dec 19, 2017 · 0 comments
Open

demo error #1

nlefebvre1410 opened this issue Dec 19, 2017 · 0 comments

Comments

@nlefebvre1410
Copy link

hi,
error npm start to :

internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.
      ^
Error: ./pub/client/src/app.js
Module build failed: ReferenceError: [BABEL] /Users/nicolaslefebvre/Downloads/generate-pdf-master/pub/client/src/app.js: Unknown option: /Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/react/react.js.Children. Check out http://babeljs.io/docs/usage/options/ for more information about options.

A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:

Invalid:
  `{ presets: [{option: value}] }`
Valid:
  `{ presets: [['presetName', {option: value}]] }`

For more detailed information on preset configuration, please see http://babeljs.io/docs/plugins/#pluginpresets-options. (While processing preset: "/Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/react/react.js")
    at Logger.error (/Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/logger.js:41:11)
    at OptionManager.mergeOptions (/Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:226:20)
    at /Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:265:14
    at /Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:323:22
    at Array.map (native)
    at OptionManager.resolvePresets (/Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
    at OptionManager.mergePresets (/Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
    at OptionManager.mergeOptions (/Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
    at OptionManager.init (/Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/Users/nicolaslefebvre/Downloads/generate-pdf-master/node_modules/babel-core/lib/transformation/file/index.js:212:65)
 @ multi index
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

1 participant