-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Will not build on Windows 10 64-bit #3581
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Errors
|
Configurationtsconfig.json{
"compilerOptions": {
/* Basic Options */
"target": "ES2020",
"module": "commonjs",
// "lib": [],
"allowJs": false,
// "checkJs": true,
// "jsx": "preserve",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
// "outFile": "./",
"outDir": "./dist/node",
// "rootDir": "./",
// "composite": true,
"removeComments": true,
// "noEmit": true,
"importHelpers": true,
// "downlevelIteration": true,
// "isolatedModules": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true,
// "moduleResolution": "node",
// "baseUrl": "./",
// "paths": {},
// "rootDirs": [],
// "typeRoots": [],
// "types": [],
// "allowSyntheticDefaultImports": true,
"esModuleInterop": true
// "preserveSymlinks": true,
// "sourceRoot": "",
// "mapRoot": "",
// "inlineSourceMap": true,
// "inlineSources": true,
// "experimentalDecorators": true,
// "emitDecoratorMetadata": true,
},
"include": [
"source/**/*.ts",
"source/**/*.json",
],
"exclude": [
"node_modules",
"**/*.spec.ts"
]
} |
I had same errors. This problem has been resolved by to enable skipLibCheck in tsconfig.
|
The next js-IPFS release should have vastly improved typings, but in the mean time yes - please set |
If it's cool with you, I'll just leave this issue open until the new typings release, since this is still a problem, even though there is a workaround. Thanks for all your great work! I <3 IPFS! |
Severity: Critical
Description:
I ran
npm install ipfs-core
to install. It worked, and during development, the types work, but when I compile, I get 67 errors that I will paste in my next comment.Steps to reproduce the error:
Just install it on Windows 10 64-bit?
The text was updated successfully, but these errors were encountered: