dropbox / dropbox/dropbox-sdk-js

Can't run the JS examples local server - can't find dist\Dropbox-sdk.js

Open
#621 10 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
970
Forks
353
Avg merge
9h 3m
Merged PRs (30d)
2

Description

**Describe the bug**
I am following the instructions at [https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript) to run the examples server.
`node server.js` crashes with
```
e:\temp\dropbox-sdk-js\examples\javascript>node server.js
e:\temp\dropbox-sdk-js\node_modules\rollup-endpoint\index.js:15
throw Error('[rollup-endpoint] File does not exist: ' + options.entry);
^

Error: [rollup-endpoint] File does not exist: e:\temp\dropbox-sdk-js\dist\Dropbox-sdk.js
at Object.exports.serve (e:\temp\dropbox-sdk-js\node_modules\rollup-endpoint\index.js:15:11)
at Object. (e:\temp\dropbox-sdk-js\examples\javascript\server.js:12:10)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
```

**Versions**
* What version of the SDK are you using? 9.6.0
* What version of the language are you using? node v14.16.0
* Are you using Javascript or Typescript? JS
* What platform are you using? (if applicable) Windows 10

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.