Package.json incorrectly formatted
See original GitHub issueI’m getting a failure on a Travis build from this update. Looks like you just added a dual-module package. With type: module
in the package.json, I think main
should point to the ESM build or needs the .cjs
extension.
Build is here: https://travis-ci.org/github/mAAdhaTTah/brookjs/jobs/679426871
I haven’t written a dual module package, so I could be wrong on the fix, but the current implementation is def broken, unfortunately.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:22
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Can someone please tell me what is wrong with my package ...
json to package.json.old and re-accomplished npm init and it worked after adding the "start": "electron ." .
Read more >How to Parse Improperly Formatted JSON Objects in Databricks
A JSON file is invalid if it contains more than one JSON object when using this function. The most straightforward resolution to this...
Read more >JSON Formatter & Validator
The JSON Formatter & Validator beautifies and debugs JSON data with advanced formatting and validation algorithms.
Read more >JSON editing in Visual Studio Code
Formatting. You can format your JSON document using Ctrl+Shift+I or Format Document from the context menu.
Read more >Format response data in ASP.NET Core Web API
Text.Json . To use the Newtonsoft.Json -based formatters, install the Microsoft.AspNetCore.Mvc.NewtonsoftJson NuGet package and configure it ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue breaks
@angular/cli
as well.Solved it by pinning the version in the
package-lock.json
file like so:#12 solution here!
npm remove is-promise npm install is-promise@2.1.0
Try and let your comments