Skip to content
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

Errors after npm start #2

Open
Tobidp opened this issue Oct 19, 2021 · 2 comments
Open

Errors after npm start #2

Tobidp opened this issue Oct 19, 2021 · 2 comments

Comments

@Tobidp
Copy link

Tobidp commented Oct 19, 2021

Received this after npm start

15:18:00 - Starting compilation in watch mode...
[1]
[1] scripts/corporation-buy-multiplier.ts(1,27): error TS2305: Module '"../types/bitburner"' has no exported member 'EmployeeJob'.
[1] scripts/corporation-buy-multiplier.ts(38,21): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-buy-multiplier.ts(44,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-buy-multiplier.ts(47,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-buy-multiplier.ts(50,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(1,27): error TS2305: Module '"../types/bitburner"' has no exported member 'EmployeeJob'.
[1] scripts/corporation-create-division.ts(68,21): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(70,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(71,21): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(75,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(78,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(81,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(92,26): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(94,14): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(95,26): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(97,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(102,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(105,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(111,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(117,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(123,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(131,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(135,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(140,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(146,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(152,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(160,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(169,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(175,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(181,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(187,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(193,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(201,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(205,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(211,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(217,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(223,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(231,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(235,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(241,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(247,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(255,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(259,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(265,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(271,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(277,12): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(285,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1] scripts/corporation-create-division.ts(289,16): error TS2339: Property 'corporation' does not exist on type 'BitBurner'.
[1]
[1] 15:18:04 - Found 48 errors. Watching for file changes.

@Tobidp Tobidp changed the title Error after npm start - corporation-create-divistion Errors after npm start Oct 19, 2021
@threehams
Copy link
Owner

Oh, yeah, hydroflame asked me to take out the in-progress corporations API.

You interested in the sync, the types, or the scripts themselves? I'm thinking of clearing out the scripts folder and leaving just the sync script, since writing the rest of the scripts is the whole point of the game.

@Tobidp
Copy link
Author

Tobidp commented Oct 20, 2021

Hey, I think all, because I don't know JS or any language, so I depend on other people's scripts :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants