`npm run build` broken
See original GitHub issueI ran npx preact-cli create typescript preact-ts
, and npm run build
is failing without any changes to the source. npm run dev
did work, however.
preact-ts % npm run build
> preact-ts@0.0.0 build
> preact build
✖ ERROR ./tests/__mocks__/setupTests.ts
ERROR in ./tests/__mocks__/setupTests.ts(5,5):
TS2322: Type 'Adapter' is not assignable to type 'EnzymeAdapter'.
The types returned by 'createElement(...)' are incompatible between these types.
Type 'VNode<any>' is not assignable to type 'ReactElement<any, string | JSXElementConstructor<any>>'.
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
code broke when use 'npm run build',but works fine at 'npm start'
code broke when use 'npm run build',but works fine at 'npm start' #7124 ... Node: 10.15.3 - C:\Program Files\nodejs\node.EXE Yarn: Not Found
Read more >Errors when running npm run build - node.js - Stack Overflow
Im trying to create my built folder for a react project, but I get this error when I run the command 'npm run...
Read more >First time trying to do "npm run build" and nothing gets built
First time trying to do "npm run build" and nothing gets built ... idea is that the commit you're currently on might be...
Read more >styles broken after npm run build - Prime Community Forum
Dear colleagues! I'm novice with React, UI & js :-) . So, my application on primereact working fine with development server.
Read more >Azure pipelines | npm build broken on ubuntu-latest image
Hi, Thanks for posting here . Please check if you run the first : npm install before npm start . ... Please also...
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
Hopefully this will be resolved in the next couple of days, sorry for the inconvenience.
Release weeks are always a bit turbulent 😅
Open is good. Might catch others who run into it.