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

Can't get project to run #3

Open
pgsandstrom opened this issue Aug 19, 2020 · 2 comments
Open

Can't get project to run #3

pgsandstrom opened this issue Aug 19, 2020 · 2 comments

Comments

@pgsandstrom
Copy link

I found this repo through vercel/next.js#13542

I had a similar problem in my own project (importing a shared folder from outside the project) but I couldn't get it to work. So I cloned this project, ran "yarn" and "yarn dev". But I just got an error very similar to the one I keep getting in my own project. Here is my full output from "yarn dev":

$ yarn dev
yarn run v1.22.4
$ yarn --cwd packages/web-app dev
$ next
ready - started server on http://localhost:3000
event - compiled successfully
event - build page: /
wait  - compiling...
error - ../bar/index.tsx 1:18
Module parse failed: Unexpected token (1:18)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> const Bar = () => <strong>bar</strong>
|
| export default Bar

My first thought is that I am on Windows, has the project been tested on that OS? I currently don' have acces to any other OS, so I cant confirm if that is the issue.

I'd be happy to contribute more details if you would find it helpful.

@pgsandstrom
Copy link
Author

I just realized that your changes that would fix my problem actually wasn't merged with the PR. That explains why it didn't work, I should have read the thread more careful :) Anyway, I leave this issue open in case you want to do anything about it being in a broken state, but ofcourse I understand if you dont care.

@jeantil
Copy link
Owner

jeantil commented Aug 19, 2020 via email

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

No branches or pull requests

2 participants