-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
Following the ReadMe steps:
Import Content
Once authenticated, you'll be able to create a Sanity project and import content.
npm run create-project
Note: You may want to sign into Sanity in the browser and rename your project.
I get the following error:
(base) ➜ astro-sanity-starter git:(main) ✗ npm run create-project
> astro-sanity-starter@0.0.1 create-project
> node ./sanity-export/create-project.js
/Users/jayden/dev/astro-sanity-starter/sanity-export/create-project.js:6
const config = new Configstore('sanity', {}, { globalConfigPath: true });
^
TypeError: Configstore is not a constructor
at Object.<anonymous> (/Users/jayden/dev/astro-sanity-starter/sanity-export/create-project.js:6:16)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Object..js (node:internal/modules/cjs/loader:1698:10)
at Module.load (node:internal/modules/cjs/loader:1303:32)
at Function._load (node:internal/modules/cjs/loader:1117:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49
Node.js v23.3.0
Metadata
Metadata
Assignees
Labels
No labels