question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Project fails on Linux to build

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
hoschicommented, Mar 23, 2019

Fixed!

1reaction
hoschicommented, Sep 9, 2018

Version v1.1.0 starts now with no issues 💯 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linux Makefile project fails to build - Visual Studio Feedback
Makefile.Targets(196,5): warning : Build command not configured. Skipping... 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\ ...
Read more >
[solved] Build failed on Linux, possible cause #3910 - GitHub
1. The git submodule repository is not properly initialized Console output project does not exist when executing make prepare.
Read more >
Building in VS 2019 in linux fail and give "error \Linux.targets ...
I am using visual studio 2019 (C++) for projects on Linux machine. The build fails and give me this error:
Read more >
Upgraded to VS 2022 (17.2.5) now my linux build fails ...
I created a Linux Solution in Visual Studio 2019. I've been using it for some time, and works well. Recently I upgraded to...
Read more >
[4.26.1] Opening C++ Windows Projects in Linux Always Fails
It attempts to chmod two files to change permissions, fails to do so, then fails on trying to build the project's “ModuleRules” dll,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found