GithubHelp home page GithubHelp logo

starter's Issues

dist folder is not created when the command "npm run copyfonts" is run

Iam using windows 7
My node version is 12.16.3
I have installed copyfiles using command :
npm -g install [email protected]
and written a script in package.json:
"copyfonts":"copyfiles -f node-modules/font-awesome/fonts/ dist/fonts"*

After this when I have run the command npm run copyfonts
It must create a dist folder and insert a subfolder fonts. But dist folder is not created .
Can anyone tell me the mistake I committed ?

The version of imagemin-cli is incompatible with node

In windows 7
My node version is 12.16.3
The version of imagemin-cli is 3.0.0
while I tried downloading the imagemin-cli using the command
npm -g install [email protected] --unsafe-perm=true --allow-root
I got a warning after runnning this command i.e.,
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"}
(current: {"node":"12.16.3","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]+ [email protected]

Is it ok or may I uninstall and start again?

dist folder not created for npm build

"scripts": {
"build": "npm run clean && npm run lint:fix",
"start": "npm run build && node dist/index.js",
"clean": "del dist dist6",
"lint": "npm run prettier:check",
"lint:fix": "npm run prettier:fix",
"prettier:cli": "prettier "/*.ts" "/*.js"",
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write"
},

With the above script in windows, npm run build is not creating dist folder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.