Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Error: Unexpected character '�' (Note that you need plugins to import files that are not JavaScript) #288

Description

@SARFEX

npx degit "sveltejs/sapper-template#rollup" sapper-app
cd sapper-app
npm install
npm run dev

d:\Projects\sapper-app>npm run dev

> TODO@0.0.1 dev d:\Projects\sapper-app
> sapper dev

✗ server
Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
f2☺☻¶ti�♦☺��7☻¶7☻¶GIMP 2.10.142020:02:08 18:32:30☺☺�♥☺☺♦☺☺☺☺♦☺�☻☺♥♥☺♥☺♥☺♠♠☺♥☺♠§☺♥☺♥☺☻♦☺♠☺☻☻♦����►JFIF☺☺☺☺��♠♠♠♣
   ^
↑2!∟!22222222222222222222222222222222222222222222222222���☺♥☺"☻◄☺♥◄☺��▼☺♣☺☺☺☺☺☺☺☻♥♦♣♠
3: ♂���►☻☺♥♥☻♦♥♣♣♦♦☺}☺☻♥♦◄♣↕!1A♠‼Qa"q¶2��#B��§R��$3br�
✗ client
Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
f2☺☻¶ti�♦☺��7☻¶7☻¶GIMP 2.10.142020:02:08 18:32:30☺☺�♥☺☺♦☺☺☺☺♦☺�☻☺♥♥☺♥☺♥☺♠♠☺♥☺♠§☺♥☺♥☺☻♦☺♠☺☻☻♦����►JFIF☺☺☺☺��♠♠♠♣
   ^
↑2!∟!22222222222222222222222222222222222222222222222222���☺♥☺"☻◄☺♥◄☺��▼☺♣☺☺☺☺☺☺☺☻♥♦♣♠
3: ♂���►☻☺♥♥☻♦♥♣♣♦♦☺}☺☻♥♦◄♣↕!1A♠‼Qa"q¶2��#B��§R��$3br�
internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module 'd:\Projects\sapper-app\__sapper__\dev\server\server.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
> Server crashed
✔ service worker (68ms)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions