Skip to content

Missing scripts folder #9

Description

@hhkaos

I cloned the repo, and when trying to run the samples I got this:

(base) ➜  oauth2-browser git:(main) npm start

> @esri/arcgis-rest-demo-vanilla@3.3.0 start
> node ../../scripts/run-demo-server.js

node:internal/modules/cjs/loader:1386
  throw err;
  ^

Error: Cannot find module 'MYPATH]/arcgis-rest-js-samples/scripts/run-demo-server.js'
    at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
    at Function._load (node:internal/modules/cjs/loader:1192:37)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
    at node:internal/main/run_main_module:36:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v22.21.1

I just copied the previous ones from arcgis-rest-js. I'll create a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions