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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development server not working anymore since 1.9.5 #1899

Closed
HybridKat opened this issue Aug 16, 2018 · 4 comments
Closed

Development server not working anymore since 1.9.5 #1899

HybridKat opened this issue Aug 16, 2018 · 4 comments
Labels
馃悰 Bug Stale Inactive issues

Comments

@HybridKat
Copy link

HybridKat commented Aug 16, 2018

馃悰 bug report

Since 1.9.5 a simple page with no other modules can't build at all.

馃帥 Configuration (.babelrc, package.json, cli command)

A simple HTML page <html><body>Hey!</body></html>, a completly clean new project.

{
  "name": "Update",
  "version": "1.0.0",
  "description": "",
  "main": "index.html",
  "scripts": {
    "start": "parcel",
    "build": "parcel build"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "parcel-bundler": "^1.9.7"
  }
}

馃 Expected Behavior

Page built and http://localhost:1234/ should show "Hey!"

馃槸 Current Behavior

Using Parcel 1.9.5 - 1.9.7 I get a 404 page. Parcel 1.9.4 works perfectly.

The dist folder is empty, no errors in console.

馃敠 Context

I wanted to update a project I'm working on. Since it didn't work after the updates I found out that parcel was not working anymore. Tried a new project to test if it was a conflict.

馃實 Your Environment

Software Version(s)
Parcel 1.9.7
Node 10.9.0
npm/Yarn npm 6.4.0
Operating System Windows 10
@DeMoorJasper
Copy link
Member

Might be a change in the resolver can you try explicitly using parcel ./index.html?

@HybridKat
Copy link
Author

By using parcel ./index.html it works.

Tried changing the "main" in package.json to ./index.html and it quickly flashes the word "Building..." before saying "Built in 35ms" and it's not working.

@DeMoorJasper
Copy link
Member

Yeah Parcel doesn't throw any errors yet if it has no entrypoints, which is sort of strange. This PR fixes the error throwing: #1848

However we should still figure out why this does not work, as it should

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.

@github-actions github-actions bot added the Stale Inactive issues label Jan 17, 2020
@github-actions github-actions bot closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃悰 Bug Stale Inactive issues
Projects
None yet
Development

No branches or pull requests

2 participants