Comments (5)
Yes, the issue is that the package-lock.json changed between major releases of npm ( 6 -> 7 -> 8).
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
I'm going to update with the latest lts which is 8.
https://nodejs.org/en/download/releases/
EDIT: it's done, if you want to give a try with the latest master.
from mcsleepingserverstarter.
thanks for the bug report!
but we haven't upgraded typescript to the latest version yet, and it seems that you installed a newer one
so to be sure you're not running into bugs cause you're not using the right deps versions, please make sure to use the typescript version installed in node_modules
and not yours installed globally before reporting an issue
from mcsleepingserverstarter.
Hi !
Did you use yarn or npm ?
If npm, which version of npm did you use ?
from mcsleepingserverstarter.
I am using npm version 7.24.1. Sorry for the late reply.
from mcsleepingserverstarter.
I have the same issue with npm version 8.1.0
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
sleepingSettings.ts:46:50 - error TS2571: Object is of type 'unknown'.
46 logger.error('Failed to write setting.', error.message);
~~~~~
sleepingSettings.ts:57:64 - error TS2571: Object is of type 'unknown'.
57 logger.error('Failed to load setting, using default.', error.message);
~~~~~
adding "useUnknownInCatchVariables": false,
to tsconfig.json helped to fix it.
from mcsleepingserverstarter.
Related Issues (20)
- Immediate start HOT 2
- [Question] What does the Discord WebHook do? HOT 1
- Getting many errors HOT 5
- Recognizes ping but no connection request HOT 4
- I keep getting "Address already in use" error when trying to start. HOT 2
- Uninstalling the program HOT 3
- When I type "npm start" in command prompt, it wipes my config data. HOT 1
- [Request] Pterodactyl Forge Support HOT 2
- Failed to decode: Not a map: null null HOT 2
- cant change picture HOT 1
- Module "@jsprismarine" missing HOT 6
- 1.20.4+ support HOT 3
- When I try to join server it just disconnects me HOT 2
- Running NPM start gives autoToHTML export error from MOTD-parser HOT 2
- Cant Edit Ram settings HOT 1
- Getting peeks from random ip-adresses? HOT 2
- 1.20.6 support HOT 3
- Not working woth puffer panel on arch64
- Dynmap black screen, console errors HOT 1
- 1.20.6 HOT 1
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 mcsleepingserverstarter.