zero icon indicating copy to clipboard operation
zero copied to clipboard

build fail does not stop the process

Open FDiskas opened this issue 6 years ago • 0 comments

If I try to build app and for some reason it fails, the script does not end here. Should exit with some fail code

[1/3] Building /app
[2/3] Building /components/counter/simple-counter
[3/3] Building 
🚨  /tmp/zeroservertmp/f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9/node_modules/@webcomponents/shadycss/scoping-shim.min.js: Cannot read property 'line' of null
    at SourceMap.originalPositionFor (/home/***/node_modules/parcel-bundler/src/SourceMap.js:309:30)
    at extension.eachMapping.mapping (/home/***/node_modules/parcel-bundler/src/SourceMap.js:153:38)
    at Array.forEach (<anonymous>)
    at SourceMap.eachMapping (/home/***/node_modules/parcel-bundler/src/SourceMap.js:120:19)
    at SourceMap.extendSourceMap (/home/***/node_modules/parcel-bundler/src/SourceMap.js:152:15)
    at module.exports (/home/***/node_modules/parcel-bundler/src/transforms/terser.js:54:47)
(node:26874) UnhandledPromiseRejectionWarning: #<Object>
(node:26874) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 25)
(node:26874) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

FDiskas avatar Mar 10 '19 18:03 FDiskas