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.

missing places.scss in npm releases?

See original GitHub issue

🐛 - Bug

When using places.js as installed by npm i --save places.js: Runtime error in console raised by insert-css: index.js?f60e:34 Uncaught TypeError: Cannot read property 'charCodeAt' of undefined(…)

What is the current behavior?

When installing the library through npm i --save places.js it seems that the places.scss file isn’t fetched nor inlined. And as a result:

import css from './places.scss';

becomes

var _places;
var _places2 = _interopRequireDefault(_places);

resulting in an empty object, triggering an error from insert-css

What is the expected behavior?

Properly resolved CSS

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
vvocommented, Nov 14, 2016

fixed and released as 1.4.7, have fun

0reactions
vvocommented, Nov 14, 2016

@jpamarohorta it’s a different issue, the npm package of places IS broken it seems, the CSS file is not inlined. Trying to fix it right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-sass missing vendor folder in all projects - Stack Overflow
Now i have really big issue i cannot build any application where is node-sass used. I got very typical error: ENONENT: no such...
Read more >
sass - npm
This package is a distribution of Dart Sass, compiled to pure JavaScript with no native code or external dependencies.
Read more >
stylelint-config-sass-guidelines - npm package - Snyk
An important project maintenance signal to consider for stylelint-config-sass-guidelines is that it hasn't seen any new versions released to npm in the past...
Read more >
Watch & Compile your Sass with npm - LinkedIn
“scripts”: { “build-css”: “node-sass --include-path scss scss/main.scss public/css/main.css”, “watch-css”: “nodemon -e scss -x \”npm run build- ...
Read more >
Cannot find module 'node-sass' on NPM build
There was an outage on Friday 8th at about 1700 GMT, we had an NPM/Angular build in progress. since then our devops builds...
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