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.

Unable to start the website using npm start

See original GitHub issue

Every bug report should have precise description and reproduction steps; console traces or source code references are appreciated.

For assistance requests, contact Azure support or submit a post on Stack Overflow. We don’t provide support through GitHub Issues. Feature requests can be raised on the Azure Feedback Forum.

Bug description

Unable to build the website on mac, while performing npm start. The browser opens with a blank screen.

Console Error: Uncaught ReferenceError: process is not defined at Object…/node_modules/path/path.js (path.js:25) at webpack_require (bootstrap:24) at fn (hot module replacement:61) at Object…/node_modules/mime-types/index.js (index.js:16) at webpack_require (bootstrap:24) at fn (hot module replacement:61) at Object…/node_modules/@paperbits/azure/persistence/azureBlobStorage.ts (azureBlobStorage.ts:1) at webpack_require (bootstrap:24) at fn (hot module replacement:61) at Object…/node_modules/@paperbits/azure/index.ts (index.ts:2)

Reproduction steps

  1. Go to the project root folder
  2. Build the project with npm install, followed by npm start
  3. Open the browser to see the built website.
  4. The website open with a blank screen, complaining about the web-pack path error

Expected behavior

Screenshot 2021-06-11 at 09 30 57 Screenshot 2021-06-11 at 09 33 05

The website should be built as it opens using Microsoft Azure portal.

Is your portal managed or self-hosted?

Self-hosted

Release tag or commit SHA (if using self-hosted version)

[e.g., release 2.0.0, commit c45da9778b70d369aba60fa2e63c191efe2b548f]

API Management service name

[e.g., contoso-api]

Environment

  • Operating system: Mac OS 11.4
  • Browser: [Brave]
  • Version: 1.25.70 Chromium: 91.0.4472.77 (Official Build) (x86_64)

Additional context

Add any other context about the problem here, including screenshots.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
msftbot[bot]commented, Jun 11, 2021

@restlessankyyy, thank you for opening this issue. We will triage it within the next few business days.

0reactions
restlessankyyycommented, Nov 24, 2021

issue fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix npm start command not working - Nathan Sebhastian
How to fix npm start command not working · Check if you have a package.json file in your project · Check if you...
Read more >
NPM Start not starting local server - node.js - Stack Overflow
I am trying to make an react app using webpack and when I try to run npm start it should load http://localhost:3333 but...
Read more >
Unable to start the site through "npm start" · Issue #788 - GitHub
localhost: Chrome Latest Version: Windows 7 64-bit: I just downloaded the code and am trying to run the project.
Read more >
"The NPM script 'start' exited without indicating that the create ...
"The NPM script 'start' exited without indicating that the create-react-app server was listening for requests" In .Net React Application.
Read more >
Setting up a Node development environment - MDN Web Docs
Node and Express make it very easy to set up your computer in order to start ... We would then be able to...
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