Comments (8)
OKie it looks like i found the real culprit >>
loader: isDev ? 'style-loader!css-loader?sourceMap!sass-loader?sourceMap'
: 'style-loader!css-loader!less-loader'
Right here... definitely need a fix here heh
from rekit.
Thanks @Cybermage83 for reporting this. It's not an error but a case not well handled. Don't need to worry about it. I will remove the error msg in the next release.
from rekit.
Just did true webpack build, got this error, which is probably why i am not generating the main.js
[./index.js] ./index.js 1.75 kB {0} [built]
+ 620 hidden modules
ERROR in multi babel-polyfill ./styles/index.scss ./index
Module not found: Error: Can't resolve 'less-loader' in '...\src'
@ multi babel-polyfill ./styles/index.scss ./index
Less loader??
from rekit.
There should be no less-loader in webpack-config.js. Could you check?
from rekit.
there was one on scss rule, as a final fall back.
also, i got it work, but i had to create a new non functional webpack.config.js and then run webpack to generate main.js after that i could to npm build so that timestamp can be assigned.
I am on windows machine, I don;t know if it matters, but something is weird going for a sass build
from rekit.
I did find an error in the generated sass project. In webapck-config.js there's a less-loader for scss files, it should be sass-loader:
{
test: /.scss$/,
loader: isDev ? 'style-loader!css-loader?sourceMap!sass-loader?sourceMap'
: 'style-loader!css-loader!sass-loader'
}
I've not found why it just works on my machine, will investigate.
from rekit.
cool, glad we got that figured out. Thanks.
from rekit.
The bug was fixed in the latest 2.0.6 version.
from rekit.
Related Issues (20)
- rekit-studio can't launch success
- Memory leak when running Jest tests due to nock not restoring https global HOT 2
- High Severity Vulnerbility in Rekit-core HOT 4
- Cannot create app at first time
- Cant open rekit studio HOT 8
- Unable to create actions with redux-saga plugin HOT 3
- Templates in rekit 3? HOT 6
- 王老师好,为什么脚手架中的package.json不区分dependencies与devDependencies HOT 1
- rekit edit mode with vim HOT 1
- functional component generated tests does not wotk
- Build errors during global package install on Windows HOT 1
- Failed to load project data Request failed with status code 500 HOT 2
- npm install rekit-studio error HOT 1
- Win10 can not create first app
- testcase issue Cannot use import statement outside a module
- Update path? HOT 6
- Create an action for a class component through rekit3.0? HOT 6
- rekit create-plugin <plugin-name> rekit: error: argument "commandName": Invalid choice: create-plugin (choose from [create, list, install, uninstall, add, remove, rm, move, mv])
- Whether to consider supporting HashedModuleIdsPlugin by default HOT 1
- 通过rekit 初始化创建app,npm test报错
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 rekit.