Created
June 22, 2017 00:24
-
-
Save bdefore/cb4269649b7e3e4e42dcf1f52d573f9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d4: ~/code/postinstall-build-error-dependent | |
→ npm i | |
> @foo/bar@1.0.11 postinstall /Users/d4/code/postinstall-build-error-dependent/node_modules/@foo/bar | |
> postinstall-build public/react/react-player.js --script build:react | |
> @foo/bar@1.0.11 build:react /Users/d4/code/postinstall-build-error-dependent/node_modules/@foo/bar | |
> NODE_ENV=production webpack --bail -p --config webpack.config.production | |
Hash: 4a9f5b3e12940a82d4f7 | |
Version: webpack 2.6.1 | |
Time: 203ms | |
Asset Size Chunks Chunk Names | |
react-player.js 1.06 kB 0 [emitted] client | |
[0] ./src/react/react-player.js 319 bytes {0} [built] [failed] [1 error] | |
ERROR in ./src/react/react-player.js | |
Module parse failed: /Users/d4/code/postinstall-build-error-dependent/node_modules/@foo/bar/src/react/react-player.js Unexpected token (6:6) | |
You may need an appropriate loader to handle this file type. | |
| render() { | |
| return ( | |
| <div> | |
| <div>Render Test</div> | |
| </div> | |
npm ERR! Darwin 16.6.0 | |
npm ERR! argv "/Users/d4/.nvm/versions/node/v6.2.1/bin/node" "/Users/d4/.nvm/versions/node/v6.2.1/lib/node_modules/npm/bin/npm-cli.js" "run" "build:react" | |
npm ERR! node v6.2.1 | |
npm ERR! npm v3.9.3 | |
npm ERR! code ELIFECYCLE | |
npm ERR! @foo/bar@1.0.11 build:react: `NODE_ENV=production webpack --bail -p --config webpack.config.production` | |
npm ERR! Exit status 2 | |
npm ERR! | |
npm ERR! Failed at the @foo/bar@1.0.11 build:react script 'NODE_ENV=production webpack --bail -p --config webpack.config.production'. | |
npm ERR! Make sure you have the latest version of node.js and npm installed. | |
npm ERR! If you do, this is most likely a problem with the @foo/bar package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! NODE_ENV=production webpack --bail -p --config webpack.config.production | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs @foo/bar | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls @foo/bar | |
npm ERR! There is likely additional logging output above. | |
npm WARN Local package.json exists, but node_modules missing, did you mean to install? | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/d4/code/postinstall-build-error-dependent/node_modules/@foo/bar/npm-debug.log | |
postinstall-build: | |
Error: Command failed: sh -c "/Users/d4/.nvm/versions/node/v6.2.1/bin/node" "/Users/d4/.nvm/versions/node/v6.2.1/lib/node_modules/npm/bin/npm-cli.js" run build:react | |
dependent-project@1.0.0 /Users/d4/code/postinstall-build-error-dependent | |
├─┬ assets-webpack-plugin@3.5.1 | |
│ └─┬ mkdirp@0.5.1 | |
│ └── minimist@0.0.8 | |
└── node-pre-gyp@0.6.36 | |
npm WARN dependent-project@1.0.0 No description | |
npm WARN dependent-project@1.0.0 No repository field. | |
npm WARN dependent-project@1.0.0 No license field. | |
npm ERR! Darwin 16.6.0 | |
npm ERR! argv "/Users/d4/.nvm/versions/node/v6.2.1/bin/node" "/Users/d4/.nvm/versions/node/v6.2.1/bin/npm" "i" | |
npm ERR! node v6.2.1 | |
npm ERR! npm v3.9.3 | |
npm ERR! code ELIFECYCLE | |
npm ERR! @foo/bar@1.0.11 postinstall: `postinstall-build public/react/react-player.js --script build:react` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the @foo/bar@1.0.11 postinstall script 'postinstall-build public/react/react-player.js --script build:react'. | |
npm ERR! Make sure you have the latest version of node.js and npm installed. | |
npm ERR! If you do, this is most likely a problem with the @foo/bar package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! postinstall-build public/react/react-player.js --script build:react | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs @foo/bar | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls @foo/bar | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/d4/code/postinstall-build-error-dependent/npm-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment