Skip to content

Instantly share code, notes, and snippets.

@jwillker
Created July 23, 2018 19:26
Show Gist options
  • Save jwillker/2ce0747fb76f19baddd2cff396466ee3 to your computer and use it in GitHub Desktop.
Save jwillker/2ce0747fb76f19baddd2cff396466ee3 to your computer and use it in GitHub Desktop.
npm install && npm run build
npm WARN [email protected] requires a peer of eslint-plugin-jsx-a11y@^5.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-bootstrap@^0.31.0 but none is installed. You must install peer dependencies yourself.
npm WARN The package babel-preset-es2015 is included as both a dev and production dependency.
npm WARN The package stylus is included as both a dev and production dependency.
audited 39862 packages in 22.437s
found 959 vulnerabilities (793 low, 128 moderate, 36 high, 2 critical)
run `npm audit fix` to fix them, or `npm audit` for details
> [email protected] build /Users/jhonn/code/deploy/letrus
> NODE_ENV=production gulp build -p
[16:22:26] Requiring external module babel-register
[16:22:27] Using gulpfile ~/code/deploy/letrus/gulpfile.babel.js
[16:22:27] Starting 'env'...
[16:22:27] Finished 'env' after 143 μs
[16:22:27] Starting 'build-webpack'...
Generating bundle app for ./frontend/app/index.js
Generating bundle evolution-report for ./frontend/evolution-report/index.js
Generating bundle portrait-report for ./frontend/portrait-report/index.js
Generating bundle reviewer for ./frontend/reviewer/index.js
Generating bundle siteadmin for ./frontend/siteadmin/index.js
Generating bundle teacher-dashboard for ./frontend/teacher-dashboard/index.js
Generating bundle ApiStatus for ./frontend/ApiStatus.js
Generating bundle aluno-comajuda-events for ./frontend/aluno-comajuda-events.js
Generating bundle aluno-comajuda for ./frontend/aluno-comajuda.js
Generating bundle aluno-semajuda for ./frontend/aluno-semajuda.js
Generating bundle compositions for ./frontend/compositions.js
Generating bundle htmlsvg2canvas for ./frontend/htmlsvg2canvas.js
Generating bundle letrus-helper for ./frontend/letrus-helper.js
Generating bundle main for ./frontend/main.js
Generating bundle redacao-commons for ./frontend/redacao-commons.js
Generating bundle test-setup for ./frontend/test-setup.js
2018-07-23T19:22:44.194Z 'Still alive.'
2018-07-23T19:22:54.207Z 'Still alive.'
2018-07-23T19:23:05.624Z 'Still alive.'
2018-07-23T19:23:15.624Z 'Still alive.'
Starting to optimize CSS...
Processing app.b6639732fb81ac4b5199.css...
Processing evolution-report.b6639732fb81ac4b5199.css...
Processing portrait-report.b6639732fb81ac4b5199.css...
Processing reviewer.b6639732fb81ac4b5199.css...
Processing siteadmin.b6639732fb81ac4b5199.css...
Processing teacher-dashboard.b6639732fb81ac4b5199.css...
Processed evolution-report.b6639732fb81ac4b5199.css, before: 148989, after: 140478, ratio: 94.29%
Processed portrait-report.b6639732fb81ac4b5199.css, before: 141977, after: 133218, ratio: 93.83%
Processed siteadmin.b6639732fb81ac4b5199.css, before: 120142, after: 114884, ratio: 95.62%
Processed app.b6639732fb81ac4b5199.css, before: 353006, after: 269084, ratio: 76.23%
Processed reviewer.b6639732fb81ac4b5199.css, before: 13945, after: 13763, ratio: 98.69%
Processed teacher-dashboard.b6639732fb81ac4b5199.css, before: 188134, after: 170112, ratio: 90.42%
2018-07-23T19:25:06.024Z 'Still alive.'
[16:25:08] [webpack] Wrote ./build/bundle-stats.json
/Users/jhonn/code/deploy/letrus/webpack/build.js:47
if (buildError) throw new _gulpUtil2.default.PluginError('webpack', buildError);
^
Error: ./frontend/teacher-dashboard/Dashboard.js
Module not found: Error: Can't resolve 'react-intercom' in '/Users/jhonn/code/deploy/letrus/frontend/teacher-dashboard'
resolve 'react-intercom' in '/Users/jhonn/code/deploy/letrus/frontend/teacher-dashboard'
Parsed request is a module
using description file: /Users/jhonn/code/deploy/letrus/package.json (relative path: ./frontend/teacher-dashboard)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/jhonn/code/deploy/letrus/package.json (relative path: ./frontend/teacher-dashboard)
resolve as module
looking for modules in /Users/jhonn/code/deploy/letrus
using description file: /Users/jhonn/code/deploy/letrus/package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/jhonn/code/deploy/letrus/package.json (relative path: .)
using description file: /Users/jhonn/code/deploy/letrus/package.json (relative path: ./react-intercom)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/jhonn/code/deploy/letrus/react-intercom doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/jhonn/code/deploy/letrus/react-intercom.js doesn't exist
as directory
/Users/jhonn/code/deploy/letrus/react-intercom doesn't exist
/Users/jhonn/code/deploy/letrus/frontend/teacher-dashboard/node_modules doesn't exist or is not a directory
/Users/jhonn/code/deploy/letrus/frontend/node_modules doesn't exist or is not a directory
/Users/jhonn/code/deploy/node_modules doesn't exist or is not a directory
/Users/jhonn/code/node_modules doesn't exist or is not a directory
/Users/jhonn/node_modules doesn't exist or is not a directory
/Users/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /Users/jhonn/code/deploy/letrus/node_modules
using description file: /Users/jhonn/code/deploy/letrus/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/jhonn/code/deploy/letrus/package.json (relative path: ./node_modules)
using description file: /Users/jhonn/code/deploy/letrus/package.json (relative path: ./node_modules/react-intercom)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/jhonn/code/deploy/letrus/node_modules/react-intercom doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/jhonn/code/deploy/letrus/node_modules/react-intercom.js doesn't exist
as directory
/Users/jhonn/code/deploy/letrus/node_modules/react-intercom doesn't exist
[/Users/jhonn/code/deploy/letrus/react-intercom]
[/Users/jhonn/code/deploy/letrus/react-intercom.js]
[/Users/jhonn/code/deploy/letrus/react-intercom]
[/Users/jhonn/code/deploy/letrus/frontend/teacher-dashboard/node_modules]
[/Users/jhonn/code/deploy/letrus/frontend/node_modules]
[/Users/jhonn/code/deploy/node_modules]
[/Users/jhonn/code/node_modules]
[/Users/jhonn/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/jhonn/code/deploy/letrus/node_modules/react-intercom]
[/Users/jhonn/code/deploy/letrus/node_modules/react-intercom.js]
[/Users/jhonn/code/deploy/letrus/node_modules/react-intercom]
@ ./frontend/teacher-dashboard/Dashboard.js 45:21-46
@ ./frontend/teacher-dashboard/App.js
@ ./frontend/teacher-dashboard/index.js
@ multi ./frontend/teacher-dashboard/index.js
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `NODE_ENV=production gulp build -p`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment