question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected character '@' Windows 10

See original GitHub issue

Description

when using npm run build, i get the following error.

ERROR in ./src/css/videojs.record.scss 1:0
Module parse failed: Unexpected character '@' (1:0)
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
> @import "icons";
| @import "main";
| @import "fluid";
 @ multi ./src/js/videojs.record.js ./src/css/videojs.record.scss videojs.record[1]

Steps to reproduce

Fresh Pull from git, npm install, npm run build. Thats as far as i get.

NOTE: I am able to fully build the source when i comment out everything in videojs.record.scss. Like below

//@import "icons";
//@import "main";
//@import "fluid";
//
//@import "components/device-button";
//@import "components/record-toggle";
//@import "components/camera-button";
//@import "components/record-indicator";
//@import "components/picture-in-picture-toggle";

Additional Information

versions

videojs

3.11.0

OSes

Windows

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
markmorriscommented, May 18, 2020

Yeah, I just got my friend to build it on his Windows 10 PC. Worked perfectly. He was using node 12. Im currently on Node 10. Thats the only difference i can see. Im putting this down to something my end then i guess. Because the code looks good.

0reactions
thijstriemstracommented, May 18, 2020

appveyor seems to have no issues building it: https://ci.appveyor.com/project/thijstriemstra/videojs-record/builds/32920364?fullLog=true

although that’s windows 8.1 (?)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Unexpected character - Power Platform Community
In your location, ";" is read a comma and ";;" is a semicolon. So it should be Select(Parent);; Navigate(Screen1) for example. View solution...
Read more >
Solved: "Unexpected character encountered..." error when a...
Solved: Hello, I am getting the error Unexpected character encountered while parsing value B. Path '', line 0, position 0 when attempting to...
Read more >
Unexpected character sequence on CSS @supports rule
Would you be able to attach your typed up file that produces the error to this issue? I wonder if somehow you are...
Read more >
Why do I get an CS1056 Unexpected character '' on this code
It indeed has to do with copy pasting code and characters that you cannot see. The easiest way to fix it ...
Read more >
Unexpected character at line 1 colum1 of the JSON data
From my Linux machines, I can access it easily via the browser extension for Firefox. On my Windows 10 machine, I get the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found