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

Unable to use this tool due to Babel issues. #21

Open
mfavorito1995 opened this issue Oct 9, 2024 · 0 comments
Open

Unable to use this tool due to Babel issues. #21

mfavorito1995 opened this issue Oct 9, 2024 · 0 comments

Comments

@mfavorito1995
Copy link

mfavorito1995 commented Oct 9, 2024

Hi - I have tried to follow the example here and all works fine until yarn develop. When I run that command I see the following error related to @babel/core:

yarn run v1.22.22
warning ../../../package.json: No license field
$ webpack serve --hot --port 8080 --https --disable-host-check --config webpack.develop.js
ℹ 「wds」: Generating SSL Certificate
ℹ 「wds」: Project is running at https://localhost:8080/
ℹ 「wds」: webpack output is served from http://localhost:8080/
ℹ 「wds」: Content not from webpack is served from /Users/markfavorito/Documents/repos/test-extension
✖ 「wdm」: asset bundle.js 497 KiB [emitted] (name: app) 1 related asset
runtime modules 25.7 KiB 10 modules
modules by path ./node_modules/ 433 KiB
  modules by path ./node_modules/webpack-dev-server/ 34 KiB 12 modules
  modules by path ./node_modules/es-errors/*.js 7.6 KiB 7 modules
  modules by path ./node_modules/webpack/hot/ 9.44 KiB 5 modules
  modules by path ./node_modules/html-entities/lib/*.js 66.2 KiB 5 modules
  modules by path ./node_modules/qs/lib/*.js 34.9 KiB 5 modules
  modules by path ./node_modules/url/ 39.4 KiB 2 modules
  modules by path ./node_modules/call-bind/*.js 3.45 KiB 2 modules
  modules by path ./node_modules/has-symbols/*.js 4.17 KiB 2 modules
  modules by path ./node_modules/function-bind/*.js 4.18 KiB 2 modules
  + 14 modules
./src/index.js 39 bytes [built] [code generated] [1 error]
./util.inspect (ignored) 15 bytes [built] [code generated]

ERROR in ./src/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: [BABEL]: Cannot find module '@babel/core'

This error persists after following installation instructions here: https://www.npmjs.com/package/@babel/core

Based on my research/googling there seem to be issues related to a babel update. I have also seen issues here and in the examples repo related to babel.

@mfavorito1995 mfavorito1995 changed the title Unable to use this tool or follow alternative Looker Extension instructions due to Babel issues. Unable to use this tool due to Babel issues. Oct 9, 2024
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