Jump to content

Prestashop 1.7 compiling scss


Recommended Posts

Hello together, 
 
today, I have begun to deal with Prestashop's new version and I have a question to you. 
I would like to know how i can compile the . scss date like the list "Themename/_dev/css" after a change. 
Unfortunately, the change alone doesn't cause any change in the front-end. 
 

 

I thank you in advance!

Many greets from Germany

Link to comment
Share on other sites

Thanks first for your answer!

Unfortunately, this does not function. Can it be that you mistake the. css-Datein for the. scss-Datein?

 

Now I have found the following Tutorial: https://webkul.com/blog/use-webpack-prestashop-1-7-classic-theme/

 

Besides, unfortunately, I get the following error message:

 

Leons-MacBook:_dev leon$ npm run build

npm ERR! Darwin 16.5.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"

npm ERR! node v7.10.0

npm ERR! npm  v4.2.0

npm ERR! path /Applications/MAMP/htdocs/prestashop_1.7.1.1/themes/newtheme/_dev/package.json

npm ERR! code ENOENT

npm ERR! errno -2

npm ERR! syscall open

 

npm ERR! enoent ENOENT: no such file or directory, open '/Applications/MAMP/htdocs/prestashop_1.7.1.1/themes/newtheme/_dev/package.json'

npm ERR! enoent ENOENT: no such file or directory, open '/Applications/MAMP/htdocs/prestashop_1.7.1.1/themes/newtheme/_dev/package.json'

npm ERR! enoent This is most likely not a problem with npm itself

npm ERR! enoent and is related to npm not being able to find a file.

npm ERR! enoent 

 

npm ERR! Please include the following file with any support request:

npm ERR!     /Users/leon/.npm/_logs/2017-05-07T14_46_55_527Z-debug.log

 

 

 

In the file "/Users/leon/.npm/_logs/2017-05-07T14_46_55_527Z-debug.log" stands the following:

 

0 info it worked if it ends with ok

1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: ENOENT: no such file or directory, open '/Applications/MAMP/htdocs/prestashop_1.7.1.1/themes/newtheme/_dev/package.json'
5 verbose cwd /Applications/MAMP/htdocs/prestashop_1.7.1.1/themes/newtheme/_dev
6 error Darwin 16.5.0
7 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
8 error node v7.10.0
9 error npm  v4.2.0
10 error path /Applications/MAMP/htdocs/prestashop_1.7.1.1/themes/newtheme/_dev/package.json
11 error code ENOENT
12 error errno -2
13 error syscall open
14 error enoent ENOENT: no such file or directory, open '/Applications/MAMP/htdocs/prestashop_1.7.1.1/themes/zentos/_dev/package.json'
15 error enoent ENOENT: no such file or directory, open '/Applications/MAMP/htdocs/prestashop_1.7.1.1/themes/zentos/_dev/package.json'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -2, true ]
 
I have none "package. json" in my _devfolder. Can somebody say me what I make wrong?  
Many greetings from Germany
Edited by Leonic (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...