ERROR - While setting up the environment

I was following the

Getting Started With ComposeDB on Ceramic to set the environment.
But for some reason this error is popping up in my local terminal:

npm WARN using --force Recommended protections disabled.
npm WARN deprecated @types/keyv@4.2.0: This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN deprecated micro-base@0.9.0: Switch to @scure/base for audited version of the lib & updates
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated multibase@4.0.6: This module has been superseded by the multiformats module
npm ERR! code 1
npm ERR! path C:\Users\Admin\AppData\Roaming\npm\node_modules\@ceramicnetwork\cli\node_modules\go-ipfs
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node src/post-install.js
npm ERR! https://dist.ipfs.io/go-ipfs/versions
npm ERR! Found C:\Users\Admin\AppData\Local\npm-go-ipfs\Cache\go-ipfs_v0.15.0_windows-amd64.zip
npm ERR! Verifying go-ipfs_v0.15.0_windows-amd64.zip.sha512
npm ERR! OK (bed460555cfe2d5ab7ae4bbd3ae46623412fb5d282a7b762253aa8d288d42e0f40c2f9e6d5e32749a4f5426cc3d6074f84048a974146435d45e5fe7e3367edf2)
npm ERR! Unpacked C:\Users\Admin\AppData\Roaming\npm\node_modules\@ceramicnetwork\cli\node_modules\go-ipfs
npm ERR! Linking C:\Users\Admin\AppData\Roaming\npm\node_modules\@ceramicnetwork\cli\node_modules\go-ipfs\go-ipfs\ipfs.exe to C:\Users\Admin\AppData\Roaming\npm\node_modules\@ceramicnetwork\cli\node_modules\go-ipfs\bin\ipfs.exe
npm ERR! Error: EPERM: operation not permitted, symlink 'C:\Users\Admin\AppData\Roaming\npm\node_modules\@ceramicnetwork\cli\node_modules\go-ipfs\go-ipfs\ipfs.exe' -> 'C:\Users\Admin\AppData\Roaming\npm\node_modules\@ceramicnetwork\cli\node_modules\go-ipfs\bin\ipfs.exe'
npm ERR!     at Object.symlinkSync (node:fs:1655:3)
npm ERR!     at link (C:\Users\Admin\AppData\Roaming\npm\node_modules\@ceramicnetwork\cli\node_modules\go-ipfs\src\download.js:207:6)
npm ERR!     at module.exports (C:\Users\Admin\AppData\Roaming\npm\node_modules\@ceramicnetwork\cli\node_modules\go-ipfs\src\download.js:248:10)
npm ERR!     at runMicrotasks (<anonymous>)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5) {
npm ERR!   errno: -4048,
npm ERR!   syscall: 'symlink',
npm ERR!   code: 'EPERM',
npm ERR!   path: 'C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\@ceramicnetwork\\cli\\node_modules\\go-ipfs\\go-ipfs\\ipfs.exe',
npm ERR!   dest: 'C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\@ceramicnetwork\\cli\\node_modules\\go-ipfs\\bin\\ipfs.exe'
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Admin\AppData\Local\npm-cache\_logs\2022-11-04T10_19_02_047Z-debug-0.log
PS C:\Users\Admin\OneDrive\Desktop\Open source\Ceramic>

Pls help me out in resolving this error.

1 Like

It looks like you are on a Windows machine. We recommend using WSL (Windows Subsystem for Linux) when running Ceramic on a Windows machine. Can you try that if you aren’t already and see if that helps?

1 Like

To add to what @spencer recommended, I’d say please use WSL2, if possible.

You can do other things to make Ceramic work from the Windows prompt, but that is convoluted.

1 Like

𝙸 πš πšŠπš—πš 𝚝𝚘 πšŽπš—πš πšπš‘πš’πšœ πš’πšœπšœπšžπšŽ 𝚘𝚏 πš πš’πš—πšπš˜πš πšœ πšπš˜πš› πšŽπšŸπšŽπš›. πš†πšŠπš—πš 𝚝𝚘 πš–πš˜πšŸπšŽ 𝚝𝚘 πš•πš’πš—πšžπš‘ πšπš’πšœπšπš›πš˜.

π™Ίπš’πš—πšπš•πš’ πšπšžπš’πšπšŽ πš πš‘πš’πšŒπš‘ πš–πš’πš—πš’πš–πšŠπš• πšπš’πšœπšπš›πš˜ πš πš˜πšžπš•πš πš‹πšŽ πš‹πšŽπšœπš.

πš„ πš”πš—πš˜πš  πšπš‘πšŽπš›πšŽ πš› πšœπš˜πš–πšŽ πšπš•πšŠπšŸπšŽπš›πšœ πš’πš— πš•πš’πš—πšžπš‘ 𝚝𝚘𝚘,

πš†πš‘πš’πšŒπš‘ πšœπš˜πš–πšŽπšπš’πš–πšŽπšœ πš—πšŽπšŽπš 𝚝𝚘 πš‹πšŽ πšπš˜πš—πšŽ πš’πš— πšπš’πšπšπšŽπš›πšŽπš—πš 𝚠𝚊𝚒𝚜.

𝙸 πš–πšŽπšŠπš— πš’ πš—πšŽπšŽπš 𝚝𝚘 πš’πš—πšœπšπšŠπš•πš• πšπš‘πšŽ π™²πšŽπš›πšŠπš–πš’πšŒ πšŒπš˜πš–πš™πšŠπšπš’πš‹πš•πšŽ πš–πš’πš—πš’πš–πšŠπš•πš’πšœπšπš’πšŒ πš•πš’πš—πšžπš‘ πšπš’πšœπšπš›πš˜.

𝙸 πš πš’πš•πš• πš‘πšŠπš—πšπš•πšŽ π™Ύπšœ πš’πš—πšœπšπšŠπš•πš•πšŠπšπš’πš˜πš— πš—πš’πšŒπšŽπš•πš’. π™²πšŠπšžπšœπšŽ 𝚟𝚎 πšœπš’πš–πšŽ πšŽπš‘πš™πšŽπš›πš’πšŽπš—πšŒπšŽ 𝚘𝚏 πš‚πš‘πšŽπš•πš•

Responded to you here: What minimal Linux Distro is best for ComposeDb? or any other language requirement

Also if you want to keep using Windows, I know people have had success getting Ceramic running under WSL2 as Mohsin mentioned above.

1 Like

Yes u r right. I ve seen people using windows. But i often see linux recommendations so i think it would be better to move to Linux. Thnx for the effort u made to help me