Closed royboy789 closed 1 year ago
Fresh install using steps in README. Tried to convert the require to ES6 import.
require
No matter what, on build I get a build failure with src/index.js:1:23: ERROR: Could not resolve "stripe"
src/index.js:1:23: ERROR: Could not resolve "stripe"
A clear and concise description of what the bug is. Cannot build after generating project
Follow instructions in README
[vars]
wrangler dev
wrangler publish
Not fail the build
Closing, running npm install fixed it.
npm install
Bug report
Describe the bug
Fresh install using steps in README. Tried to convert the
require
to ES6 import.No matter what, on build I get a build failure with
src/index.js:1:23: ERROR: Could not resolve "stripe"
A clear and concise description of what the bug is. Cannot build after generating project
To Reproduce
Follow instructions in README
[vars]
wrangler dev
orwrangler publish
Expected behavior
Not fail the build
Screenshots
System information