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

make build/plugin-frontend from SDK tutorial is failing #363

Open
Aenas11 opened this issue Aug 14, 2024 · 1 comment
Open

make build/plugin-frontend from SDK tutorial is failing #363

Aenas11 opened this issue Aug 14, 2024 · 1 comment
Assignees
Labels
area/codegen type/bug Something isn't working

Comments

@Aenas11
Copy link

Aenas11 commented Aug 14, 2024

I'm following app SDK tutorial and on step 5 (Local Deployment)
make build/plugin-frontend is failing with:

YN0000: Done with warnings in 0s 791ms
[webpack-cli] TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at exports.prepare (/workspaces/TSE/plugin/.yarn/cache/rechoir-npm-0.8.0-fb660b3bc8-ad3caed8af.zip/node_modules/rechoir/index.js:21:14)
    at loadConfigByPath (/workspaces/TSE/plugin/.yarn/__virtual__/webpack-cli-virtual-cc63e22c35/0/cache/webpack-cli-npm-5.1.4-7be5b53b38-3a4ad0d034.zip/node_modules/webpack-cli/lib/webpack-cli.js:1377:29)
    at /workspaces/TSE/plugin/.yarn/__virtual__/webpack-cli-virtual-cc63e22c35/0/cache/webpack-cli-npm-5.1.4-7be5b53b38-3a4ad0d034.zip/node_modules/webpack-cli/lib/webpack-cli.js:1460:88
    at Array.map (<anonymous>)
    at WebpackCLI.loadConfig (/workspaces/TSE/plugin/.yarn/__virtual__/webpack-cli-virtual-cc63e22c35/0/cache/webpack-cli-npm-5.1.4-7be5b53b38-3a4ad0d034.zip/node_modules/webpack-cli/lib/webpack-cli.js:1460:68)
    at WebpackCLI.createCompiler (/workspaces/TSE/plugin/.yarn/__virtual__/webpack-cli-virtual-cc63e22c35/0/cache/webpack-cli-npm-5.1.4-7be5b53b38-3a4ad0d034.zip/node_modules/webpack-cli/lib/webpack-cli.js:1781:33)
    at WebpackCLI.runWebpack (/workspaces/TSE/plugin/.yarn/__virtual__/webpack-cli-virtual-cc63e22c35/0/cache/webpack-cli-npm-5.1.4-7be5b53b38-3a4ad0d034.zip/node_modules/webpack-cli/lib/webpack-cli.js:1877:31)
    at Command.<anonymous> (/workspaces/TSE/plugin/.yarn/__virtual__/webpack-cli-virtual-cc63e22c35/0/cache/webpack-cli-npm-5.1.4-7be5b53b38-3a4ad0d034.zip/node_modules/webpack-cli/lib/webpack-cli.js:944:32)
    at Command.listener [as _actionHandler] (/workspaces/TSE/plugin/.yarn/cache/commander-npm-10.0.1-f17613b72b-436901d64a.zip/node_modules/commander/lib/command.js:482:17)
make: *** [Makefile:38: build/plugin-frontend] Error 2

I haven't added anything to the source code yet, just whatever was in the tutorial

@IfSentient IfSentient self-assigned this Aug 26, 2024
@IfSentient
Copy link
Contributor

Hi @Aenas11, I'm unable to replicate this myself, can you provide me with the following information?

  • node version (node --version)
  • yarn version (yarn --version)
  • grafana-app-sdk version (grafana-app-sdk version -v) (likely not relevant as the front-end gen hasn't changed in a while, but just in case)
  • Operating System and version

Once I have that information, I can try replicating the issue with the same set-up that you have.

@IfSentient IfSentient added type/bug Something isn't working area/codegen labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants