mongodb-js / runner

Start all mongodb deployment types for testing
Apache License 2.0
89 stars 15 forks source link

mongodb-runner start symlink error #194

Open phineasla opened 3 years ago

phineasla commented 3 years ago
yarn run v1.22.10
$ mongodb-runner start
[Error: EPERM: operation not permitted, symlink 'C:\Users\lucass\.mongodb\versions\mongodb-5.0.1-windows-64' -> 'C:\Users\lucass\.mongodb\versions\mongodb-current'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'symlink',
  path: 'C:\\Users\\lucass\\.mongodb\\versions\\mongodb-5.0.1-windows-64',
  dest: 'C:\\Users\\lucass\\.mongodb\\versions\\mongodb-current'
}
juniorbatistadev commented 2 years ago

More info on this? Getting the same problem.

phineasla commented 2 years ago

I remembered you need to run the console in administration privilege, or turn on developer mode in the Windows setting.

juniorbatistadev commented 2 years ago

I remembered you need to run the console in administration privilege, or turn on developer mode in the Windows setting.

That worked, thanks.