Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error - original.line & original.column #2

Open
victorsh opened this issue Dec 5, 2018 · 1 comment
Open

Build Error - original.line & original.column #2

victorsh opened this issue Dec 5, 2018 · 1 comment

Comments

@victorsh
Copy link

victorsh commented Dec 5, 2018

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)

@victorsh
Copy link
Author

victorsh commented Dec 5, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant