Comments (8)
Nevermind, I solved it somehow by multiple times cleaining npm cache and deleting package-lock.json and node_modules and installing again.
from talk.
Sorry for reopening, but now I experience a different error.
Suddenly, the typecheck which runs with the build is also type checking d.ts files inside node_modules folder.
This breaks the build because of ~500 errors.
example:
node_modules/graphql-redis-subscriptions/node_modules/ioredis/built/utils/RedisCommander.d.ts(3574,122): error TS1005: ',' expected.
Do you have any idea what is causing this? I am on coral version 8.0.4 now.
from talk.
Got it - can you confirm you've been following the steps in our migration docs? https://docs.coralproject.net/migrating-7-to-8
from talk.
Hi,
I've read the migration docs, but the only thing which is actually to do according to this, is to adapt the available ressources for redis and mongo.
Since I can not even get the build to work, I can not start Coral and therefore the connections to the databases are not even established yet.
So I do not know what could interfere here with the build.
Did I miss something?
Thanks for quick response.
BR
from talk.
I meanwhile tried to add --showConfig
to the tscheck npm scripts, like so:
"tscheck:client": "tsc --showConfig --project ./src/core/client/tsconfig.json --noEmit",
"tscheck:scripts": "tsc --showConfig --project ./tsconfig.json --noEmit",
"tscheck:server": "tsc --showConfig --project ./src/tsconfig.json --noEmit",
This showed me, that the config is actually correct (skipLibCheck:true and exclude: ["node_modules"]), and also at the mentioned files, there is nothing to be seen from node_modules.
Output from above:
https://pastebin.com/dqRfAPWp
But as soon as I run the tscheck normally without this parameter, following errors are produced:
https://pastebin.com/9r1sHvTA
And these are the files I get output when I add the --listFiles
parameter (--explainFiles ist not available yet in this typescript version):
https://pastebin.com/mgCFFk2V
from talk.
Hello, I’ve looked into your links and errors that you’re seeing, and it’s a tough one to troubleshoot from afar. It definitely seems like something has somehow gotten incorrectly installed. It sounds like you’ve already removed node_modules
and done a clean install of your npm cache with npm ci
, which is what I would do and recommend in this case. I would probably also double-check my node and npm versions. Do you have any more updates or info to share that might help figure it out?
from talk.
Hi, I was able to get rid of the errors by rolling back to a commit where I did not yet delete package-lock.json and node_modules.
Then I manually editet the package-lock.json and replaced the sha512 hash to get rid of the EINTEGRITY error I mentioned initially in this issue.
After this, I could install normally and continue with the upgrade.
Meanwhile I was able to upgrade to the latest version.
Unfortunately I have no idea why this errors happened.
Anyway I guess this can be closed, thanks.
from talk.
Happy to hear that you got this figured out! I'll close this issue then.
from talk.
Related Issues (20)
- Client Theme Builder GUI HOT 1
- Moderation is broken with 8.6.0 HOT 4
- GDPR - actively clean up rejected comments older than 1 year HOT 4
- DSA Anonymous Reporting HOT 7
- Errors that seem to have no effect HOT 1
- INTERNAL_ERROR: Text record must only set "authSource" or "replicaSet"` HOT 1
- Support for Hostnames without TLD in "Site permitted domains" HOT 2
- OpenID Connect HTTP Callback Url HOT 3
- Adding unnecessary padding when trying to render commenting thread in a modal HOT 5
- Finnish translation: Notification email footer issues HOT 3
- Expand visible dashboard data to weekly/monthly HOT 1
- Story cache - DATA_CACHING_NOT_AVAILABLE HOT 6
- Option to close sitewide commenting for a specific time (ie. from midnight to 6 am.) HOT 3
- connect to a serverless MongoDB cluster. HOT 1
- Put admin dashboard and used graphql queries/mutations on separate domain/path HOT 1
- Commenting Username Bug HOT 1
- Can't able to render the coral thread in a modal if we have multiple action items on a page for opening modal. HOT 1
- Perspective Filter Toxicity HOT 3
- Comment Activity Email/Notification HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talk.