Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ffxsam/repro-vite-amplify
https://github.com/ffxsam/repro-vite-amplify
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ffxsam/repro-vite-amplify
- Owner: ffxsam
- Created: 2022-08-22T00:26:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-22T00:26:03.000Z (over 2 years ago)
- Last Synced: 2024-11-11T15:36:44.704Z (2 months ago)
- Language: Vue
- Size: 844 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue 3 (Vite) Amplify Build Issue
1. `yarn install`
1. `yarn build`Result:
```
'request' is not exported by __vite-browser-external, imported by node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-imds/dist/es/remoteProvider/httpRequest.js
file: /Users/samh/Code/repro-vite-amplify/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-imds/dist/es/remoteProvider/httpRequest.js:4:9
2: import { ProviderError } from "@aws-sdk/property-provider";
3: import { Buffer } from "buffer";
4: import { request } from "http";
^
5: /**
6: * @internal
error during build:
Error: 'request' is not exported by __vite-browser-external, imported by node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-imds/dist/es/remoteProvider/httpRequest.js
at error (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at Module.error (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:12412:16)
at Module.traceVariable (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:12771:29)
at ModuleScope.findVariable (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:11423:39)
at FunctionScope.findVariable (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:6355:38)
at ChildScope.findVariable (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:6355:38)
at FunctionScope.findVariable (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:6355:38)
at ChildScope.findVariable (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:6355:38)
at Identifier.bind (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:7422:40)
at CallExpression.bind (file:///Users/samh/Code/repro-vite-amplify/node_modules/rollup/dist/es/shared/rollup.js:5252:23)
```