Skip to content

Instantly share code, notes, and snippets.

@dereknahman
Created April 7, 2021 13:42
Show Gist options
  • Save dereknahman/81300cf902b5f4721c199c2d706ca793 to your computer and use it in GitHub Desktop.
Save dereknahman/81300cf902b5f4721c199c2d706ca793 to your computer and use it in GitHub Desktop.
~/Documents/work/spark main npm start ok 14:33:59
> spark@1.0.0 start
> env `cat .env` npm run webpack:dev -- -w
> spark@1.0.0 webpack:dev
> npm run clean && webpack --config src/webpack/webpack.dev.js "-w"
> spark@1.0.0 clean
> rm -rf dist
webpack is watching the files…
Hash: f7cc18310091f5dd7d7e
Version: webpack 4.46.0
Child server:
Hash: f7cc18310091f5dd7d7e
Time: 3094ms
Built at: 07/04/2021 14:35:02
Asset Size Chunks Chunk Names
changelog.js 256 KiB changelog [emitted] changelog
server.js 526 KiB server [emitted] server
Entrypoint server = server.js
Entrypoint changelog = changelog.js
[nodemon] 2.0.7
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): dist/server/server.js
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node dist/server/server.js`
(node:29619) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
{"name":"cms-discovery","hostname":"FT-MW1155.local","pid":29619,"level":30,"msg":"CMS Discovery app listening at http://:::8083","time":"2021-04-07T13:35:04.473Z","v":0}
{"name":"cms-discovery","hostname":"FT-MW1155.local","pid":29619,"level":30,"event":"REDIS_CONNECT_SUCCESS","msg":"","time":"2021-04-07T13:35:04.534Z","v":0}
WARNING: oTypographySpacingSize is deprecated. Please use o-spacing instead.
on line 126 of node_modules/@financial-times/o-typography/src/scss/_functions.scss, in function `_oTypographyWarnOnce`
from line 62 of node_modules/@financial-times/o-typography/src/scss/_deprecated.scss, in function `oTypographySpacingSize`
from line 23 of node_modules/@financial-times/o-forms/src/scss/_variables.scss
from line 20 of node_modules/@financial-times/o-forms/main.scss
from line 3 of stdin
WARNING: oTypographyMargin is deprecated. Please use o-spacing instead.
on line 126 of node_modules/@financial-times/o-typography/src/scss/_functions.scss, in function `_oTypographyWarnOnce`
from line 26 of node_modules/@financial-times/o-typography/src/scss/_deprecated.scss, in mixin `oTypographyMargin`
from line 14 of node_modules/@financial-times/o-forms/src/scss/mixins/_labels.scss, in mixin `oFormsLabel`
from line 64 of node_modules/@financial-times/o-forms/src/scss/base.scss, in mixin `oFormsBaseFeatures`
from line 12 of node_modules/@financial-times/o-forms/src/scss/base.scss, in mixin `oForms`
from line 6 of stdin
WARNING: oTypographySpacingSize is deprecated. Please use o-spacing instead.
on line 126 of node_modules/@financial-times/o-typography/src/scss/_functions.scss, in function `_oTypographyWarnOnce`
from line 62 of node_modules/@financial-times/o-typography/src/scss/_deprecated.scss, in function `oTypographySpacingSize`
from line 23 of node_modules/@financial-times/o-forms/src/scss/_variables.scss
from line 20 of node_modules/@financial-times/o-forms/main.scss
from line 4 of stdin
WARNING: oTypographyMargin is deprecated. Please use o-spacing instead.
on line 126 of node_modules/@financial-times/o-typography/src/scss/_functions.scss, in function `_oTypographyWarnOnce`
from line 26 of node_modules/@financial-times/o-typography/src/scss/_deprecated.scss, in mixin `oTypographyMargin`
from line 14 of node_modules/@financial-times/o-forms/src/scss/mixins/_labels.scss, in mixin `oFormsLabel`
from line 16 of stdin
webpack built client 15bc85256708ba60908f in 35518ms
✖ 「wdm」: Hash: 15bc85256708ba60908f
Version: webpack 4.46.0
Time: 35518ms
Built at: 07/04/2021 14:35:39
Asset Size Chunks Chunk Names
admin.15bc8525.js 113 KiB admin [emitted] [immutable] admin
admin.d0e4f369.css 1.31 KiB admin [emitted] [immutable] admin
app.15bc8525.js 504 KiB app [emitted] [immutable] app
app.c7cd55bc.css 155 KiB app [emitted] [immutable] app
archive.15bc8525.js 79.8 KiB archive [emitted] [immutable] archive
archive.980b235d.css 2.26 KiB archive [emitted] [immutable] archive
archive~dashboard.15bc8525.js 157 KiB archive~dashboard [emitted] [immutable] archive~dashboard
archive~dashboard.eab02242.css 456 bytes archive~dashboard [emitted] [immutable] archive~dashboard
archive~dashboard~prosemirror.15bc8525.js 109 KiB archive~dashboard~prosemirror [emitted] [immutable] archive~dashboard~prosemirror
archive~dashboard~prosemirror.4844d1c1.css 1.26 KiB archive~dashboard~prosemirror [emitted] [immutable] archive~dashboard~prosemirror
dashboard.15bc8525.js 306 KiB dashboard [emitted] [immutable] dashboard
dashboard.fda3c4fb.css 89.6 KiB dashboard [emitted] [immutable] dashboard
dashboard~prosemirror.15bc8525.js 252 KiB dashboard~prosemirror [emitted] [immutable] dashboard~prosemirror
dashboard~prosemirror.28992d92.css 7.02 KiB dashboard~prosemirror [emitted] [immutable] dashboard~prosemirror
error.15bc8525.js 19.2 KiB error [emitted] [immutable] error
manifest.json 1.69 KiB [emitted]
planning.15bc8525.js 81.7 KiB planning [emitted] [immutable] planning
planning.9164f038.css 76.5 KiB planning [emitted] [immutable] planning
prosemirror.15bc8525.js 4.57 MiB prosemirror [emitted] [immutable] prosemirror
prosemirror.7ef24252.css 417 KiB prosemirror [emitted] [immutable] prosemirror
vendors~admin~archive~dashboard~prosemirror.15bc8525.js 1.79 MiB vendors~admin~archive~dashboard~prosemirror [emitted] [immutable] vendors~admin~archive~dashboard~prosemirror
vendors~app.15bc8525.js 7.34 MiB vendors~app [emitted] [immutable] vendors~app
vendors~archive~dashboard~prosemirror.15bc8525.js 253 KiB vendors~archive~dashboard~prosemirror [emitted] [immutable] vendors~archive~dashboard~prosemirror
vendors~dashboard~prosemirror.15bc8525.js 2.82 MiB vendors~dashboard~prosemirror [emitted] [immutable] vendors~dashboard~prosemirror
vendors~dashboard~prosemirror.dd7b638a.css 22.3 KiB vendors~dashboard~prosemirror [emitted] [immutable] vendors~dashboard~prosemirror
vendors~planning.15bc8525.js 847 KiB vendors~planning [emitted] [immutable] vendors~planning
vendors~prosemirror-dev-tools.15bc8525.js 1.59 MiB vendors~prosemirror-dev-tools [emitted] [immutable] vendors~prosemirror-dev-tools
vendors~prosemirror.15bc8525.js 5.16 MiB vendors~prosemirror [emitted] [immutable] vendors~prosemirror
Entrypoint app = vendors~app.15bc8525.js app.c7cd55bc.css app.15bc8525.js
WARNING in chunk dashboard~prosemirror [mini-css-extract-plugin]
Conflicting order between:
* css ./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules/postcss-loader/src!./node_modules/sass-loader/dist/cjs.js??ref--7-3!./src/client/shared/components/DeskSelect/styles.module.scss
* css ./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules/postcss-loader/src!./node_modules/sass-loader/dist/cjs.js??ref--7-3!./src/client/editor-prosemirror/components/Drawers/Drawer/styles.scss
ERROR in ./src/client/editor-prosemirror/components/Menus/ArticleMenu/CopyArticle/CopyArticleStore.js 91:27
Module parse failed: Unexpected token (91:27)
File was processed with these loaders:
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| get bylineText() {
| const [byline] = findChildrenByType(this.doc, schema.nodes.byline);
> const content = byline?.node?.content?.content?.[0]?.textContent;
| return content || '';
| }
@ ./src/client/editor-prosemirror/components/Menus/ArticleMenu/CopyArticle/CopyArticleModal.js 14:0-50 70:32-48
@ ./src/client/editor-prosemirror/components/Menus/ArticleMenu/CopyArticle/CopyArticleButton.js
@ ./src/client/editor-prosemirror/components/Menus/ArticleMenu/index.js
@ ./src/client/editor-prosemirror/Editor.js
@ ./src/client/app/App.js
@ ./src/client/entry.js
@ multi @babel/polyfill whatwg-fetch ./src/client/entry.js webpack-hot-middleware/client
ℹ 「wdm」: Failed to compile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment