question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Project build not works

See original GitHub issue

Hello, I’ve tried following build process, but it just keep showing logs with build command

$ npm run build            

> wrangler-root@0.0.0 build /Users/kination/workspace/oss/wrangler2
> npm run build --workspace=wrangler

> wrangler-root@0.0.0 build /Users/kination/workspace/oss/wrangler2
> npm run build --workspace=wrangler

> wrangler-root@0.0.0 build /Users/kination/workspace/oss/wrangler2
> npm run build --workspace=wrangler

> wrangler-root@0.0.0 build /Users/kination/workspace/oss/wrangler2
> npm run build --workspace=wrangler
...
...

Am I doing correctly, or missing something?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27 (27 by maintainers)

github_iconTop GitHub Comments

2reactions
threepointonecommented, Jan 27, 2022

Ok I see what’s happening here. You need to create a workers.dev subdomain on the dashboard. Go to dash.cloudflare.com, choose Workers in the left sidebar, and you should see a UI to set your workers subdomain in the right sidebar.

Some follow up notes for us -

  • wrangler 1 had a command to set this subdomain from the command line. I dunno whether we should have it on Wrangler 2.
  • I do think we should make users register a subdomain when they make a Cloudflare account
  • in any case, we should handle this error better in the cli, and have messaging that asks a user to create a subdomain for workers.dev

I’m going to reopen this issue, and we’ll edit the title to reflect the problem and assign to someone to fix it later.

Thank you for helping us find this, appreciate your patience!

1reaction
petebacondarwincommented, Mar 13, 2022

Closing as Wrangler appears to be working as expected, and this issue is turning into a mix of different resolved problems. @djKooks - Please open a new issue with any new problems you encounter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio project not building when I click debug or press F5
Right-click the Solution (not project) in the Solution Explorer and select Configuration Manager. Check if Build is turn off for the current configuration....
Read more >
Why Doesn't My Visual Studio Solution Build ... - Code Buckets
If you have continuous build – check that is still working and running through cleanly. The code might not work for anyone.
Read more >
Build not build/rebuild/clean doesn't starting
Visual Studio 2015 appears to work correctly, until I attempt to build, rebuild, or clean a project or solution. Then the build seems...
Read more >
Deployment project build fails with VS2022, works with VS2019
i have upgraded a solution from VS 2019 to 2022. all is working fine, all projects build successfully and run successfully.
Read more >
Newcomers » Project doesn't build - Eclipse Community Forums
via Project > Clean (assuming you have "Build Automatically" enabled, which is almost always recommended). ... open the project Properties > Java ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found