-
Notifications
You must be signed in to change notification settings - Fork 80
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
Error: Cannot find module './package.json #31
Comments
Hi! There was indeed a bug in this file since I moved it to a I also fixed a couple more issues with the script as I had to use it for the first time to create a draft release of version 4.0.0 If you simply want to generate a zip file that you can then manually load in your browser the script can be used but you will have to comment-out some lines that are creating git commits, pushing to the remote repository and creating a draft release. Unfortunately at the moment there is no configurable option to be able to skip those steps easily |
Hello. Thanks for the clarification. I wanted to have a release by building manually because I wanted to have a new feature, the iframe implementation as mentioned here Issue #12 · jeromepl/highlighter. Since on the chrome web store the latest release is February 10, 2021, we need to build manually from the source code, I thought. no? So from the fact building a release from the source is not simple as it sounds, I'd better wait for the new v4 release on the chrome web store? |
Waiting for the next release is definitely the easiest option. I'm currently doing the final tests of v4 and plan on releasing next weekend 🙂 |
Just wanted to add: if you need this before the official release, you should be able to use it in chrome by cloning this repo (or downloading the zip file containing all the code) and going to |
I'm trying to build a release by
npm run release
as documented, but I getError: Cannot find module './package.json
.versions:
reproduction:
Thanks.
The text was updated successfully, but these errors were encountered: