majestic: Project fails on Linux to build

Is this a bug report or a feature request?

Please specify whether this is a feature request 🎁 or a bug 🐛. bug

Version Info

  • Version of Majestic: tried master (4732e) and 0.2.0
  • Version of Jest:?
  • Version of Node: v8.9.1
  • Operating System: linux (arch)

I did

  • clone from github
  • npm install
  • npm run rebuild
  • npm run linux:
app > npm run linux                                                                                                                                                                                         
                                                                                                                                                                                                            
> majestic@0.2.0 linux /home/hoschi/src/majestic/app                                                                                                                                                        
> npm run compile && node_modules/.bin/build --linux


> majestic@0.2.0 compile /home/hoschi/src/majestic/app
> electron-webpack

 51% [0] chunk asset optimization
/home/hoschi/src/majestic/app/node_modules/source-map/lib/source-map-generator.js:276
        throw new Error(
              ^
Error: original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead
of an object with empty or null values.
    at SourceMapGenerator_validateMapping [as _validateMapping] (/home/hoschi/src/majestic/app/node_modules/source-map/lib/source-map-generator.js:276:15)
    at SourceMapGenerator_addMapping [as addMapping] (/home/hoschi/src/majestic/app/node_modules/source-map/lib/source-map-generator.js:110:12)
    at /home/hoschi/src/majestic/app/node_modules/source-map/lib/source-map-generator.js:72:17
    at Array.forEach (<anonymous>)
    at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as eachMapping] (/home/hoschi/src/majestic/app/node_modules/source-map/lib/source-map-consumer.js:157:14)
    at Function.SourceMapGenerator_fromSourceMap [as fromSourceMap] (/home/hoschi/src/majestic/app/node_modules/source-map/lib/source-map-generator.js:48:24)
    at SourceMapSource.node (/home/hoschi/src/majestic/app/node_modules/webpack-sources/lib/SourceMapSource.js:32:35)
    at /home/hoschi/src/majestic/app/node_modules/webpack-sources/lib/ConcatSource.js:59:50
    at Array.map (<anonymous>)
    at ConcatSource.node (/home/hoschi/src/majestic/app/node_modules/webpack-sources/lib/ConcatSource.js:58:63)
    at ConcatSource.proto.sourceAndMap (/home/hoschi/src/majestic/app/node_modules/webpack-sources/lib/SourceAndMapMixin.js:30:18)
    at getTaskForFile (/home/hoschi/src/majestic/app/node_modules/webpack/lib/SourceMapDevToolPlugin.js:33:30)
    at chunk.files.forEach.file (/home/hoschi/src/majestic/app/node_modules/webpack/lib/SourceMapDevToolPlugin.js:91:21)
    at Array.forEach (<anonymous>)
    at /home/hoschi/src/majestic/app/node_modules/webpack/lib/SourceMapDevToolPlugin.js:89:18
    at Array.forEach (<anonymous>)
    at Compilation.<anonymous> (/home/hoschi/src/majestic/app/node_modules/webpack/lib/SourceMapDevToolPlugin.js:88:12)
    at Compilation.applyPlugins1 (/home/hoschi/src/majestic/app/node_modules/tapable/lib/Tapable.js:75:14)
    at self.applyPluginsAsync.err (/home/hoschi/src/majestic/app/node_modules/webpack/lib/Compilation.js:670:11)
    at next (/home/hoschi/src/majestic/app/node_modules/tapable/lib/Tapable.js:202:11)
    at Compilation.compilation.plugin (/home/hoschi/src/majestic/app/node_modules/webpack/lib/ProgressPlugin.js:119:6)
    at next (/home/hoschi/src/majestic/app/node_modules/tapable/lib/Tapable.js:204:14)
    at Compilation.compilation.plugin (/home/hoschi/src/majestic/app/node_modules/webpack/lib/BannerPlugin.js:67:5)
    at next (/home/hoschi/src/majestic/app/node_modules/tapable/lib/Tapable.js:204:14)
    at Compilation.<anonymous> (/home/hoschi/src/majestic/app/node_modules/babel-minify-webpack-plugin/dist/index.js:119:11)
    at Compilation.applyPluginsAsyncSeries (/home/hoschi/src/majestic/app/node_modules/tapable/lib/Tapable.js:206:13)
    at self.applyPluginsAsync.err (/home/hoschi/src/majestic/app/node_modules/webpack/lib/Compilation.js:666:10)
    at next (/home/hoschi/src/majestic/app/node_modules/tapable/lib/Tapable.js:202:11)
    at Compilation.compilation.plugin.callback (/home/hoschi/src/majestic/app/node_modules/webpack/lib/ProgressPlugin.js:115:6)
    at Compilation.applyPluginsAsyncSeries (/home/hoschi/src/majestic/app/node_modules/tapable/lib/Tapable.js:206:13)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! majestic@0.2.0 compile: `electron-webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the majestic@0.2.0 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hoschi/.npm/_logs/2018-01-12T13_05_18_701Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! majestic@0.2.0 linux: `npm run compile && node_modules/.bin/build --linux`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the majestic@0.2.0 linux script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hoschi/.npm/_logs/2018-01-12T13_05_18_709Z-debug.log

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (11 by maintainers)

Most upvoted comments

Fixed!

Version v1.1.0 starts now with no issues 💯 👍

I’ll take a look at not being able to build from source.

I can reproduce the issue. Will have a look at it soon.

I would like to, but the port 7777 is already in use. Can you make it configurable? Environment variable would be enough for the alpha, I think.