Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example has an error #36

Open
jswhisperer opened this issue Feb 10, 2019 · 1 comment
Open

Example has an error #36

jswhisperer opened this issue Feb 10, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@jswhisperer
Copy link

`Build failed!

✖ ERROR /Users/gnb/Sites/parket/src/util.ts
Module parse failed: Unexpected token (3:5)
You may need an appropriate loader to handle this file type.
| // Lighter Object.assign stand-in
| export function assign(
| obj: { [index: string]: any },
| props: { [index: string]: any }
| ) {
@ /Users/gnb/Sites/parket/src/integration/preact.js 4:0-36
@ ./src/components/main-section.js
@ ./src/components/app.js
@ ./src/index.js
@ ./node_modules/preact-cli/lib/lib/entry.js
@ multi ./node_modules/preact-cli/lib/lib/entry webpack-dev-server/client webpack/hot/dev-server
I'm using Node 8.11 and npm 6.4.1 I'm not sure if I need a typescript global or something? Webpack is confusing :(

✖ ERROR /Users/gnb/Sites/parket/src/index.ts
Module parse failed: Unexpected token (9:7)
You may need an appropriate loader to handle this file type.
| const objKeys = Object.keys.bind(Object);
|
| export type EmitFn = (evt: string, val: Event) => void;
|
| export type ModelCommons = {
@ ./src/store.js 3:0-33
@ ./src/index.js
@ ./node_modules/preact-cli/lib/lib/entry.js
@ multi ./node_modules/preact-cli/lib/lib/entry webpack-dev-server/client webpack/hot/dev-server

`

@ForsakenHarmony
Copy link
Owner

Yup, I never updated the import

@ForsakenHarmony ForsakenHarmony added the bug Something isn't working label Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants