DEV Community

Discussion on: Snowpack - How it works?

Collapse
 
rengelde profile image
Reinhard Engel

I just followed the installation instructions in your post to the letter (i.e. creating all the folders and files) up to the point in 'math / index.js' where you say:

"Now just run Snowpack, since we already have files inside node_modules we don't have to do npm install.

$ snowpack
✔ snowpack installed: finance. [0.06s]
$
Enter fullscreen mode Exit fullscreen mode

But just how do I run snowpack?
I'm using VSCode. There, in the terminal, I just get an error message:

PS D:\projects\snowpack\snowpack_demo> snowpack
snowpack: The term 'snowpack' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS D:\projects\snowpack\snowpack_demo>
Enter fullscreen mode Exit fullscreen mode

There is no snowpack executable or script.
Am I missing some prerequisites (i.e. proper installation of Snowpack)?

Collapse
 
rajasegar profile image
Rajasegar Chandran

we have to do npm install snowpack first, sorry I missed that instruction