Skip to content

Clean run doesn't work off master #3

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

Open
auser opened this issue Nov 30, 2020 · 1 comment
Open

Clean run doesn't work off master #3

auser opened this issue Nov 30, 2020 · 1 comment

Comments

@auser
Copy link

auser commented Nov 30, 2020

The commands I've run:

git clone https://github.com/codechips/sapper-with-postcss-and-tailwind.git template
cd template
npm install
npm run dev

The output:

❯ npm run dev


> [email protected] dev /template
> run-p watch:*


> [email protected] watch:dev /template
> sapper dev


> [email protected] watch:css /template
> postcss src/assets/global.pcss -o static/global.css -w

✗ client
Cannot read property 'length' of undefined
✗ server
Cannot read property 'length' of undefined
internal/modules/cjs/loader.js:1033
  throw err;
  ^

Error: Cannot find module '/template/__sapper__/dev/server/server.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1030:15)
    at Function.Module._load (internal/modules/cjs/loader.js:899:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
> Server crashed

Any ideas where or why this might be happening?

@babichjacob
Copy link

See upstream sveltejs/svelte#5722
(per the last comment, it should work to upgrade Svelte to 3.30.1)

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