cloud-functions-emulator icon indicating copy to clipboard operation
cloud-functions-emulator copied to clipboard

Some trouble

Open pudimKBM opened this issue 6 years ago • 0 comments

=== Serving from 'C:\Users\anton\OneDrive\Área de Trabalho\atleta.co\material-components-web-codelabs\mdc-101\starter'...

i functions: Preparing to emulate functions. i hosting[tst2-ddf3a]: Serving hosting files from: n

  • hosting[tst2-ddf3a]: Local server: http://localhost:5000 Warning: You're using Node.js v8.11.3 but Google Cloud Functions only supports v6.11.5. C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\node_modules\configstore\index.js:65 throw err; ^

Error: EBUSY: resource busy or locked, rename 'C:\Users\anton.config\configstore@google-cloud\functions-emulator.active-server.json.659168371' -> 'C:\Users\anton.config\configstore@google-cloud\functions-emulator.active-server.json' at Object.fs.renameSync (fs.js:766:18) at Function.writeFileSync [as sync] (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\write-file-atomic\index.js:192:8) at Configstore.set all [as all] (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\node_modules\configstore\index.js:58:20) at new Configstore (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\node_modules\configstore\index.js:25:12) at Object. (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\src\server.js:23:18) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) ! functions: Error from emulator. Error: Emulator crashed! Check the log file... (node:22564) UnhandledPromiseRejectionWarning: Error: EPERM: operation not permitted, rename 'C:\Users\anton.config\configstore@google-cloud\functions-emulator.active-server.json.3581351757' -> 'C:\Users\anton.config\configstore@google-cloud\functions-emulator.active-server.json' at Object.fs.renameSync (fs.js:766:18) at Function.writeFileSync [as sync] (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\write-file-atomic\index.js:192:8) at Configstore.set all [as all] (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\node_modules\configstore\index.js:58:20) at Configstore.delete (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\node_modules\configstore\index.js:98:12) at Promise.resolve.then (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\src\cli\controller.js:503:27) at (node:22564) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:22564) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:22564) UnhandledPromiseRejectionWarning: Error: EBUSY: resource busy or locked, rename 'C:\Users\anton.config\configstore@google-cloud\functions-emulator.active-server.json.2885987425' -> 'C:\Users\anton.config\configstore@google-cloud\functions-emulator.active-server.json' at Object.fs.renameSync (fs.js:766:18) at Function.writeFileSync [as sync] (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\write-file-atomic\index.js:192:8) at Configstore.set all [as all] (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\node_modules\configstore\index.js:58:20) at Configstore.set (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\node_modules\configstore\index.js:88:12) at Promise.resolve.then (C:\Users\anton\AppData\Roaming\npm\node_modules\firebase-tools\node_modules@google-cloud\functions-emulator\src\cli\controller.js:505:21) at at process._tickDomainCallback (internal/process/next_tick.js:228:7) (node:22564) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) Shutting down... Deseja finalizar o arquivo em lotes (S/N)? s PS C:\Users\anton\OneDrive\Área de Trabalho\atleta.co\material-components-web-codelabs\mdc-101\starter>

any idea ?

pudimKBM avatar Sep 25 '18 23:09 pudimKBM