Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Issue with requires for aws-amplify #168

Open
jblankencoyote01 opened this issue Dec 21, 2017 · 0 comments
Open

Issue with requires for aws-amplify #168

jblankencoyote01 opened this issue Dec 21, 2017 · 0 comments

Comments

@jblankencoyote01
Copy link

jspm install npm:aws-amplify
...
in JS source:
import Amplify from 'aws-amplify'

run source in browser (chrome 63):

system.src.js:123 Uncaught (in promise) Error: (SystemJS) require is not defined
ReferenceError: require is not defined
at eval (http://127.0.0.1:8080/jspm_packages/npm/[email protected]/clients/s3.js:3:1)
at eval ()
at Object.eval (http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Common/Facet.js:17:10)
at eval (http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Common/Facet.js:28:4)
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/clients/s3.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Common/Facet.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Common/index.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Auth/Auth.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Auth/index.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/index.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]
Error loading http://127.0.0.1:8080/test/test.js
at eval (http://127.0.0.1:8080/jspm_packages/npm/[email protected]/clients/s3.js:3:1)
at eval ()
at Object.eval (http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Common/Facet.js:17:10)
at eval (http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Common/Facet.js:28:4)
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/clients/s3.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Common/Facet.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Common/index.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Auth/Auth.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/Auth/index.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]/lib/index.js
Evaluating http://127.0.0.1:8080/jspm_packages/npm/[email protected]
Error loading http://127.0.0.1:8080/test/test.js
t @ system.src.js:123
p @ system.src.js:680
(anonymous) @ system.src.js:622
g @ system.src.js:760
y @ system.src.js:955
f @ system.src.js:621
m @ system.src.js:664
(anonymous) @ system.src.js:486
Async Call
(anonymous) @ system.src.js:1800
(anonymous) @ (index):6
system.src.js:1041 XHR finished loading: GET "http://127.0.0.1:8080/jspm_packages/npm/[email protected]/dist/aws-sdk.js".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant