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

upgrade to parcel-bundler^1.12.5 from parcel^1.12.3 in templates #1040

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Catminusminus
Copy link

This will fix #980.

Currently, in the two template projects (react and react-with-storybook), you will encounter "Invalid Version: undefined" errors when you type yarn start in the example directories.

This is due to specifying "parcel": "^1.12.3" in package.json and upgrading to 1.12.5 will fix the problem.

However, v1.12.5 exists only in parcel-bundler package, so I change "parcel": "^1.12.3" to "parcel-bundler": "^1.12.5".

In addition, upgrading to parcel v2 beta will break hot module reloading (#980 (comment)), so I decided to use not parcel v2 but parcel-bundler.

…le dirs

This will fix 'Invalid Version: undefined' error due to parcel v1
@vercel

This comment was marked as spam.

Copy link

@carlostorreswav carlostorreswav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue

@thebiltheory
Copy link

@Catminusminus something seems to be wrong with the checks.
Anything we can do to unlock these?

Copy link

@binvb binvb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same error, this commit works for me

@Catminusminus
Copy link
Author

I got the three approvements, so I will explain this situation.

Let me get straight to the point, this project seems to be "dead".
See #1058 for detail.
And only you can do Is fork thIs project (or use a forked project like this).

To unlock CI for this PR, an approvement by a reviewer with write access permission is required.
And this seems to be impossible now.

@binvb

This comment was marked as resolved.

@sidwebworks
Copy link

sidwebworks commented Sep 2, 2021

Just tried adding parcel bundler with the given version @Catminusminus

Although I can now see this console error,

parcelRequire is not defined

Any ideas what this could be?

@sidwebworks
Copy link

image

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

Successfully merging this pull request may close these issues.

Parcel error: example\index.tsx: Invalid Version: undefined
5 participants