Comments (4)
Have you tried running without this plugin? Are you sure it's caused by the plugin and not something else?
from less-plugin-npm-import.
Also, could you publish a stack trace, rather than just the exception
from less-plugin-npm-import.
Ah, I have a stack trace now:
TypeError: undefined is not a function
at module.exports (/less-test/node_modules/less-plugin-npm-import/lib/npm-file-manager.js:12:32)
at Object.module.exports.install (/less-test/node_modules/less-plugin-npm-import/lib/index.js:6:30)
at PluginManager.addPlugin (/less-test/node_modules/less/lib/less/plugin-manager.js:28:12)
at PluginManager.addPlugins (/less-test/node_modules/less/lib/less/plugin-manager.js:18:18)
at render (/less-test/node_modules/less/lib/less/render.js:30:27)
at /less-test/node_modules/less/lib/less/render.js:17:17
at doResolve (/less-test/node_modules/promise/lib/core.js:91:5)
at new Promise (/less-test/node_modules/promise/lib/core.js:71:3)
at Object.render (/less-test/node_modules/less/lib/less/render.js:16:20)
at Object.exports.renderAsync (/less-test/index.js:36:15)
from less-plugin-npm-import.
thanks @ForbesLindesay - I've release 2.1.1 which works with this plugin and bumped the requirements for this plugin to 2.1.1 to make it clear it doesn't work with 2.0
from less-plugin-npm-import.
Related Issues (17)
- less 2.2 tests failed HOT 1
- Module's package.json file may make trouble HOT 1
- Nothing happens. HOT 1
- plugin fails if targeting a file with a .css suffix using gulp-less HOT 5
- Document test process and/or fix tests HOT 8
- it has bug when node_modules in the deep modules
- can I use it with less option 'syncImport: true, relativeUrls: true' ? HOT 2
- add less file which is in the node_modules has failed. HOT 2
- How to use with Grunt? HOT 2
- Doesn't work in a .vue file
- Not working with less-plugin-glob
- Why is the output result empty?
- this plugin breaks sourcemaps on windows HOT 1
- How to run tests HOT 3
- Plugin breaks on require HOT 1
- Requires fs module HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from less-plugin-npm-import.