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

Webpack Error when npm run start with the current version extension #82

Open
lucidhwee opened this issue Aug 23, 2024 · 1 comment
Open

Comments

@lucidhwee
Copy link

Hi team,
I got a following error when npm run start in Looker Extension Framework Setup step.

xxx@xxxx:~/looker-explore-assistant/explore-assistant-extension$ npm run start

> [email protected] start
> webpack serve --hot --server-type https  --port 8080 --config webpack.develop.js

[webpack-cli] You need to install 'webpack-dev-server' for running 'webpack serve'.
Error: Cannot find module 'webpack-dev-server'
Require stack:
- /usr/share/nodejs/@webpack-cli/serve/lib/index.js
- /usr/share/nodejs/webpack-cli/lib/webpack-cli.js
- /usr/share/nodejs/webpack-cli/lib/bootstrap.js
- /usr/share/nodejs/webpack-cli/bin/cli.js
- /usr/share/nodejs/webpack/bin/webpack.js

When I used the previous commit version of c986fe3, it worked well without the same issue in my same dev environment.

@praveenkumar-bidgely
Copy link

praveenkumar-bidgely commented Aug 24, 2024

@lucidhwee have you run the npm install command to install all dependencies?

refer this document at this step: https://medium.com/refined-and-refactored/how-to-set-up-genai-x-looker-extension-under-15-minutes-explore-assistant-b1f918ed9c58#:~:text=run%20this%20command-,npm%20install,-Next%2C%20we%20will

PS: please note this document is not updated as per the latest changes. there is one addition task to be done to setup completely i.e. inserting sample examples in bigquery. please refer PR #75 for this change.

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

No branches or pull requests

2 participants