Error, unable to provision, when installing headless

When I try to enable the Atlas add on and create a new site I am receiving this error, see log file info below, and can’t proceed. Any ideas?

{"thread":"main","name":"DeprecationWarning","code":"DEP0005","level":"info","message":"Warning:Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.","stack":"DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\n    at showFlaggedDeprecation (buffer.js:174:11)\n    at new Buffer (buffer.js:257:3)\n    at encoder (%%appPath%%\\node_modules\\superagent\\lib\\node\\index.js:499:12)\n    at RequestBase._auth (%%appPath%%\\node_modules\\superagent\\lib\\request-base.js:431:44)\n    at Request.auth (%%appPath%%\\node_modules\\superagent\\lib\\node\\index.js:502:15)\n    at Analytics.flush (%%appPath%%\\node_modules\\analytics-node\\lib\\index.js:152:6)\n    at listOnTimeout (internal/timers.js:531:17)\n    at processTimers (internal/timers.js:475:7)","timestamp":"2021-03-23T00:40:43.271Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2021-03-23T00:41:05.752Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2021-03-23T00:41:05.760Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-03-23T00:41:05.949Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"dataPath":"C:/Users/brand/AppData/Roaming/Local/run/TTnA29Qk3/mysql/data","level":"info","message":"Initializing MySQL datadir...","timestamp":"2021-03-23T00:41:06.170Z"}
{"thread":"main","class":"ErrorHandlerService","error":{"killed":false,"code":1,"signal":null,"cmd":"C:\\Program Files (x86)\\Local\\Local.exe %%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\node_modules\\npx\\index.js create-next-app --example https://github.com/wpengine/headless-framework/tree/canary --example-path examples/getting-started --use-npm app-node"},"info":{},"level":"error","message":"error encounted during preprovision step","timestamp":"2021-03-23T00:41:18.487Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: error encounted during preprovision step\n    at LightningServiceNodeJS.<anonymous> (%%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\lib\\NodeJSService.js:133:23)\n    at Generator.throw (<anonymous>)\n    at rejected (%%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\lib\\NodeJSService.js:25:65)\n    at processTicksAndRejections (internal/process/task_queues.js:94:5)","level":"error","message":"Unable to provision site.","timestamp":"2021-03-23T00:41:18.495Z"}

Hmm, there’s not a lot of actionable things in those log lines. From the path there, I see that this is a Windows machine – can you describe your laptop environment a little more? For example:

  • What version of Windows is this?
  • Do you have any antivirus software installed?
  • Do you have other Javascript dev things installed? For example, is nodejs already installed on the system?

Thanks for replying.
Running Windows 10 latest
Only Windows defender AV and I tried with it turned off.
Node.js is not installed already.

No worries, I know its new. Can try next release. :slight_smile:

1 Like

I’m getting all sorts of errors too…I can’t get an atlas-enabled site to provision.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.

I’m seeing a few more reports of issues provisioning on Windows, I’ve got a ticket to look into it as soon as possible!

Thanks! Let us know what you find out.

I am also getting many errors when provisioning a headless site.
Mac OS Big Sur
Can you help me get around these permissions errors?

Error: Command failed: /Applications/Local.app/Contents/MacOS/Local /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/index.js create-next-app --example https://github.com/wpengine/headless-framework/tree/canary --example-path examples/getting-started --use-npm app-node
Error: EACCES: permission denied, mkdir '/Users/msuarez/.npm/_npx/4708'
TypeError: Cannot read property 'get' of undefined
at errorHandler (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/utils/error-handler.js:213:18)
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/bin/npm-cli.js:83:20
at cb (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/npm.js:215:22)
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/npm.js:253:24
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/config/core.js:81:7
at Array.forEach (<anonymous>)
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/config/core.js:80:13
at f (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/node_modules/once/once.js:25:25)
at afterExtras (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/config/core.js:178:20)
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/node_modules/mkdirp/index.js:47:53
/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/utils/error-handler.js:213
if (npm.config.get('json')) {
^

TypeError: Cannot read property 'get' of undefined
at process.errorHandler (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/utils/error-handler.js:213:18)
at process.emit (events.js:223:5)
at process._fatalException (internal/process/execution.js:150:25)
Install for [ 'create-next-app@latest' ] failed with code 7

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  npx update check failed                   β”‚
β”‚            Try running with sudo or get access             β”‚
β”‚            to the local update config store via            β”‚
β”‚ sudo chown -R $USER:$(id -gn $USER) /Users/msuarez/.config β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜




Error: Command failed: /Applications/Local.app/Contents/MacOS/Local /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/index.js create-next-app --example https://github.com/wpengine/headless-framework/tree/canary --example-path examples/getting-started --use-npm app-node
Error: EACCES: permission denied, mkdir '/Users/msuarez/.npm/_npx/4708'
TypeError: Cannot read property 'get' of undefined
at errorHandler (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/utils/error-handler.js:213:18)
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/bin/npm-cli.js:83:20
at cb (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/npm.js:215:22)
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/npm.js:253:24
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/config/core.js:81:7
at Array.forEach (<anonymous>)
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/config/core.js:80:13
at f (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/node_modules/once/once.js:25:25)
at afterExtras (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/config/core.js:178:20)
at /Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/node_modules/mkdirp/index.js:47:53
/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/utils/error-handler.js:213
if (npm.config.get('json')) {
^

TypeError: Cannot read property 'get' of undefined
at process.errorHandler (/Users/msuarez/Library/Application Support/Local/addons/@getflywheel-local-addon-headless/node_modules/npx/node_modules/npm/lib/utils/error-handler.js:213:18)
at process.emit (events.js:223:5)
at process._fatalException (internal/process/execution.js:150:25)
Install for [ 'create-next-app@latest' ] failed with code 7

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  npx update check failed                   β”‚
β”‚            Try running with sudo or get access             β”‚
β”‚            to the local update config store via            β”‚
β”‚ sudo chown -R $USER:$(id -gn $USER) /Users/msuarez/.config β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Windows 10
Node.js v12.14.0

Here is my log:

{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-05-21T12:54:44.127Z"}
{"thread":"main","class":"Process","process":"mailhog","pid":9304,"level":"info","message":"Killing process","timestamp":"2021-05-21T12:54:45.914Z"}
{"thread":"main","class":"Process","process":"phpCgi","pid":13188,"level":"info","message":"Killing process","timestamp":"2021-05-21T12:54:46.013Z"}
{"thread":"main","class":"Process","process":"phpCgi","pid":12188,"level":"info","message":"Killing process","timestamp":"2021-05-21T12:54:46.218Z"}
{"thread":"main","class":"Process","process":"nginx","pid":5444,"level":"info","message":"Killing process","timestamp":"2021-05-21T12:54:46.659Z"}
{"thread":"main","class":"Process","process":"mysql","pid":13220,"level":"info","message":"Killing process","timestamp":"2021-05-21T12:54:47.585Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-05-21T12:55:02.212Z"}
{"thread":"main","class":"Process","process":"nginx","pid":12572,"level":"info","message":"Killing process","timestamp":"2021-05-21T12:55:07.506Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%resourcesPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqladmin.exe ping\n\u0007mysqladmin: connect to server at '::1' failed\r\nerror: 'Can't connect to MySQL server on '::1' (10061)'\r\nCheck that mysqld is running on ::1 and that the port is 10011.\r\nYou can check this by doing 'telnet ::1 10011'\r\n\n    at ChildProcess.exithandler (child_process.js:317:12)\n    at ChildProcess.emit (events.js:315:20)\n    at ChildProcess.EventEmitter.emit (domain.js:467:12)\n    at maybeClose (internal/child_process.js:1048:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)","level":"error","message":"Database did NOT respond to ping after 15 tries.","timestamp":"2021-05-21T12:55:13.043Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%resourcesPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqladmin.exe ping\n\u0007mysqladmin: connect to server at '::1' failed\r\nerror: 'Can't connect to MySQL server on '::1' (10061)'\r\nCheck that mysqld is running on ::1 and that the port is 10011.\r\nYou can check this by doing 'telnet ::1 10011'\r\n\n    at ChildProcess.exithandler (child_process.js:317:12)\n    at ChildProcess.emit (events.js:315:20)\n    at ChildProcess.EventEmitter.emit (domain.js:467:12)\n    at maybeClose (internal/child_process.js:1048:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)","level":"error","message":"Database did NOT respond to ping after 15 tries.","timestamp":"2021-05-21T12:55:13.193Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-05-21T12:55:08.624975Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 17208","timestamp":"2021-05-21T12:55:14.499Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-05-21T12:55:08.662305Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2021-05-21T12:55:14.500Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-05-21T12:55:13.159332Z 0 [System] [MY-010229] [Server] Starting crash recovery...","timestamp":"2021-05-21T12:55:14.500Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-05-21T12:55:13.175221Z 0 [System] [MY-010232] [Server] Crash recovery finished.","timestamp":"2021-05-21T12:55:14.501Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-05-21T12:55:14.418707Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-05-21T12:55:14.504Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-05-21T12:55:14.499209Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe: ready for connections. Version: '8.0.16'  socket: ''  port: 10017  MySQL Community Server - GPL.","timestamp":"2021-05-21T12:55:14.505Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2021-05-21T13:12:56.959Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2021-05-21T13:12:56.979Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-05-21T13:12:57.316Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"dataPath":"C:/Users/Jeff/AppData/Roaming/Local/run/RPuG9beEK/mysql/data","level":"info","message":"Initializing MySQL datadir...","timestamp":"2021-05-21T13:12:57.586Z"}
{"thread":"main","class":"ErrorHandlerService","error":{"killed":false,"code":1,"signal":null,"cmd":"C:\\Program Files (x86)\\Local\\Local.exe %%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\node_modules\\npx\\index.js create-next-app --example https://github.com/wpengine/headless-framework/tree/canary --example-path examples/getting-started --use-npm app-node"},"info":{},"level":"error","message":"error encounted during preprovision step","timestamp":"2021-05-21T13:14:41.588Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: error encounted during preprovision step\n    at LightningServiceNodeJS.<anonymous> (%%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\lib\\NodeJSService.js:133:23)\n    at Generator.throw (<anonymous>)\n    at rejected (%%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\lib\\NodeJSService.js:25:65)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)","level":"error","message":"Unable to provision site.","timestamp":"2021-05-21T13:14:41.610Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting %%userDataPath%%\\run\\RPuG9beEK","level":"info","timestamp":"2021-05-21T13:14:48.506Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-05-21T13:14:49.154Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-05-21T13:14:49.158Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-05-21T13:14:49.388Z"}
{"thread":"main","class":"DeleteSiteService","level":"warn","message":"Could not trash","timestamp":"2021-05-21T13:14:56.298Z"}

@marksuarez – were you able to get this figured out?

The error messages are interesting, and as I’m googling around, something about this feels like a dirty or broken global npm cache.

What are the permissions for that folder, and for the _npx folder in general? Also do you have node and npm installed already? If so, how were they installed?

For me, I have node (and npm) installed using nvm, and here’s what that _npx folder looks like for me:

β˜…  ~ % which node && node --version; which npm && npm --version
/Users/ben.turner/.nvm/versions/node/v14.16.0/bin/node
v14.16.0
/Users/ben.turner/.nvm/versions/node/v14.16.0/bin/npm
7.10.0
β˜…  ~ % ls -alh ~/.npm/_npx                                     
total 0
drwxr-xr-x   5 ben.turner  staff   160B May 19 14:42 .
drwxr-xr-x  14 ben.turner  staff   448B May 14 11:16 ..
drwxr-xr-x   4 ben.turner  staff   128B Mar 16 14:18 27427
drwxr-xr-x   5 ben.turner  staff   160B May 19 14:42 c67e74de0542c87c
drwxr-xr-x   5 ben.turner  staff   160B May 14 11:16 efeac22998af9bf2

That failed with code 7 bit is something I don’t see too often, and searching the web lead me to this similar issue on StackOverflow where most answers seem to involve clearing the npm cache:

NOTE: The above link is for create-react-app, so update any of their commands accordingly to use create-next-app. More than likely the recommendations of npm cache clean --force would be good enough.

Thanks for the log, and welcome to the community!

The errors here, seem slightly different than the others in this topic. Specifically, this error seems sort of generic:

  "thread": "main",
  "class": "ErrorHandlerService",
  "error": {
    "killed": false,
    "code": 1,
    "signal": null,
    "cmd": "C:\\Program Files (x86)\\Local\\Local.exe %%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\node_modules\\npx\\index.js create-next-app --example https://github.com/wpengine/headless-framework/tree/canary --example-path examples/getting-started --use-npm app-node"
  },
  "info": {},
  "level": "error",
  "message": "error encounted during preprovision step",
  "timestamp": "2021-05-21T13:14:41.588Z"

Are you able to create regular, non-Atlas sites in Local? What happens if you create a new WordPress site using the preferred environment?

Hi Ben, thank you, I am able to create regular sites just fine. But when trying to stand up an Atlas site I am getting the same pop-ups as @blue42green. I just attempted again and here is the local-lightning.log:

{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2021-06-01T13:04:21.427Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2021-06-01T13:04:21.433Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-06-01T13:04:21.609Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"dataPath":"C:/Users/Jeff/AppData/Roaming/Local/run/i3SyWxZ5g/mysql/data","level":"info","message":"Initializing MySQL datadir...","timestamp":"2021-06-01T13:04:21.925Z"}
{"thread":"main","class":"ErrorHandlerService","error":{"killed":false,"code":1,"signal":null,"cmd":"C:\\Program Files (x86)\\Local\\Local.exe %%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\node_modules\\npx\\index.js create-next-app --example https://github.com/wpengine/headless-framework/tree/canary --example-path examples/getting-started --use-npm app-node"},"info":{},"level":"error","message":"error encounted during preprovision step","timestamp":"2021-06-01T13:05:04.899Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: error encounted during preprovision step\n    at LightningServiceNodeJS.<anonymous> (%%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\lib\\NodeJSService.js:133:23)\n    at Generator.throw (<anonymous>)\n    at rejected (%%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\lib\\NodeJSService.js:25:65)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)","level":"error","message":"Unable to provision site.","timestamp":"2021-06-01T13:05:04.912Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting %%userDataPath%%\\run\\i3SyWxZ5g","level":"info","timestamp":"2021-06-01T13:05:07.669Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-06-01T13:05:07.721Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-06-01T13:05:07.729Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-06-01T13:05:07.870Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-06-01T13:05:07.878Z"}
{"thread":"main","class":"DeleteSiteService","level":"warn","message":"Could not trash","timestamp":"2021-06-01T13:05:14.859Z"}

Ben, I have a new project come up where I would like to use Atlas and am still having this issue.

Here are my most recent logs:

    {"localVersion":"6.1.8+5621","osPlatform":"win32","osRelease":"10.0.19044","windowsEdition":"Microsoft Windows 10 Pro","linuxEdition":null,"level":"warn","message":"Electron Event ready","timestamp":"2021-12-09T16:07:53.566Z"}
{"thread":"main","reason":{"code":"ETIMEDOUT","connect":true},"p":{},"eventId":"f7ba12fbcd36470d808bf649447d718b","level":"warn","message":"Unhandled Rejection.","timestamp":"2021-12-09T16:08:00.797Z"}
{"thread":"main","class":"ErrorHandlerService","error":{"killed":false,"code":1,"signal":null,"cmd":"C:\\Program Files (x86)\\Local\\Local.exe %%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\node_modules\\npx\\index.js create-next-app --example https://github.com/wpengine/headless-framework/tree/canary --example-path examples/getting-started --use-npm app-node"},"info":{},"eventId":"8bd585c3eedc4687b7e3e5b4e4637162","level":"error","message":"error encounted during preprovision step","timestamp":"2021-12-09T16:28:45.098Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: error encounted during preprovision step\n    at LightningServiceNodeJS.<anonymous> (%%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\lib\\NodeJSService.js:133:23)\n    at Generator.throw (<anonymous>)\n    at rejected (%%userDataPath%%\\addons\\@getflywheel-local-addon-headless\\lib\\NodeJSService.js:25:65)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)","level":"error","message":"Unable to provision site.","timestamp":"2021-12-09T16:28:45.123Z"}
{"thread":"main","reason":{},"p":{},"eventId":"b72bfb597f7d436598aafafc22c92a30","level":"warn","message":"Unhandled Rejection.","timestamp":"2021-12-09T16:30:43.394Z"}
{"thread":"main","class":"DeleteSiteService","level":"warn","message":"Could not trash","timestamp":"2021-12-09T16:30:50.499Z"}

Please Advise, I would really like to use Atlas in an upcoming project. Thank you.

Do you have the latest version of Local and the latest version of the Atlas add-on installed? We introduced some improved logging functionality to Local core. You can get those improved logs by clicking the β€œDownload Local Log” button on the β€œSupport” tab. Can you upload the zip file that Local creates after clicking that button?

I have the latest of Local installed 6.1.8+5621 and Atlas 1.3.0 installed.
I also, updated Node and installed npx and ran npm cache clean --force
local-logs.zip (58.5 KB)

@ben.turner After looking again, I guess I DIDN’T have the latest Atlas installed… Totally works now!
Thanks.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.