networked-aframe/naf-firebase-adapter

Build Error - original.line & original.column

Opened this issue · 1 comments

I'm getting this error when running npm install on the project.
I'm very new to firebase and networked-aframe and I'm having trouble understanding what's going on with the error message. Any help is much appreciated!

I can still run the application using npm start but the console log on the webpage shows that firebase is denying permission to connect to the project. I've made sure to set the database rules to allow read and write to anyone.

Here is the error output from the cli on npm install
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] (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:276:15) at SourceMapGenerator_addMapping [as addMapping] (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:110:12) at /Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:72:17 at Array.forEach (<anonymous>) at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as eachMapping] (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack-sources/node_modules/source-map/lib/source-map-consumer.js:157:14) at Function.SourceMapGenerator_fromSourceMap [as fromSourceMap] (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:48:24) at SourceMapSource.node (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack-sources/lib/SourceMapSource.js:32:35) at SourceMapSource.proto.sourceAndMap (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack-sources/lib/SourceAndMapMixin.js:30:18) at getTaskForFile (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/SourceMapDevToolPlugin.js:33:30) at chunk.files.forEach.file (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/SourceMapDevToolPlugin.js:91:21) at Array.forEach (<anonymous>) at /Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/SourceMapDevToolPlugin.js:89:18 at Array.forEach (<anonymous>) at Compilation.<anonymous> (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/SourceMapDevToolPlugin.js:88:12) at Compilation.applyPlugins1 (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/tapable/lib/Tapable.js:75:14) at applyPluginsAsync.err (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/Compilation.js:673:11) at next (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/tapable/lib/Tapable.js:202:11) at Compilation.<anonymous> (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/babel-minify-webpack-plugin/dist/index.js:119:11) at Compilation.applyPluginsAsyncSeries (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/tapable/lib/Tapable.js:206:13) at applyPluginsAsync.err (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/Compilation.js:669:10) at Compilation.applyPluginsAsyncSeries (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/tapable/lib/Tapable.js:195:46) at applyPluginsAsyncSeries (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/Compilation.js:665:9) at Compilation.applyPluginsAsyncSeries (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/tapable/lib/Tapable.js:195:46) at Compilation.seal (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/Compilation.js:608:8) at applyPluginsParallel.err (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/Compiler.js:504:17) at /Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/tapable/lib/Tapable.js:289:11 at _addModuleChain (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/Compilation.js:511:11) at processModuleDependencies.err (/Users/victorshahbazian/Documents/Github/AdvCorp/Saturn/net-frbs/naf-firebase-adapter/node_modules/webpack/lib/Compilation.js:481:14) at process.internalTickCallback (internal/process/next_tick.js:70:11)

Figured it out!
This has to do with the babel-minify plugin. Removing it got me through.
webpack-contrib/babel-minify-webpack-plugin#68