Errors when starting Grandstack.io starter project

I just tried to get started with the Grandstack,io starter project and seem to be running into errors during the installation procedure. Has anyone else experienced this? I noticed that there have been changes recently to make the install easier, but something might have been missed. Here is the response I got:

Initializing Project...
❯ Create GRANDstack App
:heavy_check_mark: Creating directory '/Users/whoeck/Applications/mytestingground'
:heavy_check_mark: Downloading latest release
:heavy_check_mark: Extracting latest release
:heavy_check_mark: Creating Local env file with configuration options...
:heavy_multiplication_x: Creating scripts configuration...
→ EEXIST: file already exists, mkdir '/Users/whoeck/Applications/mytestingground/scripts/config'
Removing unused templates:
:heavy_check_mark: web-react-ts
:heavy_check_mark: web-angular
:heavy_check_mark: mobile_client_flutter
Initialize git
Installing Packages with yarn
(node:43980) UnhandledPromiseRejectionWarning: Error: EEXIST: file already exists, mkdir '/Users/whoeck/Applications/mytestingground/scripts/config'
at Object.mkdirSync (fs.js:753:3)
at writeConfigJson (/Users/whoeck/.npm/_npx/43980/lib/node_modules/create-grandstack-app/dist/utils/file.js:110:15)
at Task.task (/Users/whoeck/.npm/_npx/43980/lib/node_modules/create-grandstack-app/dist/utils/file.js:203:17)
at Promise.resolve.then.then.skipped (/Users/whoeck/.npm/_npx/43980/lib/node_modules/create-grandstack-app/node_modules/listr/lib/task.js:167:30)
(node:43980) 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:43980) [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.
wolfgang-hoecks-macbook-pro:Applications whoeck$

wolfgang-hoecks-macbook-pro:mytestingground whoeck$ npm start

@ start /Users/whoeck/Applications/mytestingground> node scripts/start-dev.js

internal/modules/cjs/loader.js:583
throw err;
^

Error: Cannot find module 'concurrently'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/Users/whoeck/Applications/mytestingground/scripts/start-dev.js:1:84)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: node scripts/start-dev.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/whoeck/.npm/_logs/2020-08-27T18_10_30_579Z-debug.log

2 Likes

I am also facing the same error

I've just pushed an update that should fix this. Could you please try again?

Just tried again and am getting the following errors still:
:heavy_check_mark: Create GRANDstack App
:heavy_check_mark: Creating directory '/Users/whoeck/Applications/mynewgrandstackapp'
:heavy_check_mark: Downloading latest release
:heavy_check_mark: Extracting latest release
:heavy_check_mark: Creating Local env file with configuration options...
:heavy_check_mark: Creating scripts configuration...
:heavy_check_mark: Removing unused templates:
:heavy_check_mark: web-react-ts
:heavy_check_mark: web-angular
:heavy_check_mark: mobile_client_flutter
❯ Installing Packages with yarn
:heavy_multiplication_x: Installing GRANDstack CLI and dependencies
→ spawn yarn ENOENT
Installing api dependencies
Installing web-react dependencies
(node:30091) UnhandledPromiseRejectionWarning: Error: spawn yarn ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
at onErrorNT (internal/child_process.js:407:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:30091) 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: 2)
(node:30091) [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.

i get a similar/same error when starting a new project as well.